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 diff with stashed files
- How to unstash changes
- How to remove specific remote branch locally
- How to untrack a file
- How to pull all branches
- How to delete remote tag
- How to list all tags
- How to delete multiple commits
- How to fix "HEAD detached from"
See more codes...