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
- Stash current changes without commit
- How to rename local branch
- How to delete all local branches which has been deleted on the remote
- How to uncommit last commit but keep changes
- How to show current branch
- Remove an existing remote
- How to untrack a file
- How to unstash changes
See more codes...