gitHow to revert repository back to last commit
This will revert files that were previously under git as well as delete new files:
Related
More of Git
- How to undo "git add" before commit
- How to view project's detailed history
- How to rename local branch
- How to delete all local branches which has been deleted on the remote
- How to check patch (dry-run) before applying it
- Remove an existing remote
- How to push local branch to a remote repository
- How to list all commits
- Make a new branch with uncommitted changes
See more codes...