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
- Remove an existing remote
- How to view project's detailed history
- How to rename local branch
- How to untrack a file
- How to delete all local branches which has been deleted on the remote
- Make a new branch with uncommitted changes
- How to view project's short history
- Stash current changes without commit
- How to list all commits
See more codes...