Created
April 22, 2016 19:39
-
-
Save leandroh/eda86900dd6b7fc56946a56d8801451e to your computer and use it in GitHub Desktop.
Reset the staging area and the working directory to overwrite all changes in the working directory, too. So make sure you really want to throw away your local developments before using it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git reset --hard <commit_hash> | |
git push --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment