Last active
December 19, 2015 14:48
-
-
Save mocchira/5971363 to your computer and use it in GitHub Desktop.
about git commands
This file contains 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
# rollback remote branch | |
git push -f origin HEAD^:master | |
# rollback local branch | |
git reset --hard HEAD^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment