git rollback
http://stackoverflow.com/questions/1616957/how-do-you-roll-back-reset-a-git-repository-to-a-particular-commit
git reset --hard <tag/branch/commit id>
Notes:
-
git resetwithout the--hardoption resets the commit history, but not the files. With the--hardoption the files in working tree are also reset. (credited user) -
If you wish to commit that state, so remote repository also points to rolled back commit do:
git push <reponame> -f(credited user)
浙公网安备 33010602011771号