Git: Rollback an old commit

Try: git checkout . (Don't forget .)

Undo: git reset --hard


https://stackoverflow.com/questions/2007662/rollback-to-an-old-git-commit-in-a-public-repo

Comments

Popular posts from this blog

Logout Git on MacOS

Login/Logout account Git in Terminal/cmd

React Tutorial for Beginners