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 short history
- How to view project's detailed history
- How to rename local branch
- How to list not yet pushed commits
- How to exit git log
- How to see difference between working directory and last commit
- How to change branch
- How to view diff with stashed files
- How to untrack a file
See more codes...