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 view project's detailed history
- How to undo "git add" before commit
- How to rename local branch
- How to unstash changes
- How to rename a branch
- Make a new branch with uncommitted changes
- How to see difference between working directory and last commit
- How to undo "git add" on all files before commit
- How to view diff with stashed files
- How many lines of code from specific author
See more codes...