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 reset
without the--hard
option resets the commit history, but not the files. With the--hard
option 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)