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 rename a branch
- How to view project's detailed history
- How to rename local branch
- How to delete last commit
- How to undo "git add" before commit
- How to delete all local branches which has been deleted on the remote
- How to view project's short history
- How to see difference between working directory and last commit
- How to untrack a file
- How to get the repository (remote) url
See more codes...