March
31st,
2015
Rolling back to a previous commit:
Only, and only, if you are working by your self!
(This is dangerous in a collaborative environment: we are rewriting history!)
git reset --hard
git push -f origin
Note, if by any reason you want to have access to the lost commits, use:
git reflog