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 stashed changes
- How to view diff with stashed files
- How to undo "git add" before commit
- How to see difference between working directory and last commit
- How to delete all local branches which has been deleted on the remote
- How to push local branch to a remote repository
- Make a new branch with uncommitted changes
- How to untrack a file
- How to rollback to specific commit
- How to show current branch
See more codes...