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 edit last commit message
- How to view project's detailed history
- Remove an existing remote
- How to rename local branch
- How to view project's short history
- How to undo "git add" before commit
- How to see difference between working directory and last commit
- How to merge branch to master
- How to list not yet pushed commits
- Stash current changes without commit
See more codes...