1. git log
This is useful for view all the Commit history
https://git-scm.com/book/tr/v2/Git-Basics-Viewing-the-Commit-History
2. git reset --hard <tag/branch/commit id>
Enter the commit id to the end of the command
http://stackoverflow.com/questions/1616957/how-do-you-roll-back-reset-a-git-repository-to-a-particular-commit
No comments:
Post a Comment