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 rename a branch
- How to view diff with stashed files
- Stash current changes without commit
- How to merge branch to master
- How to view project's detailed history
- How to update forked repository from master
- How to rename local branch
- Make a new branch with uncommitted changes
- How to list not yet pushed commits
See more codes...