Skip to content

Instantly share code, notes, and snippets.

@mocchira
Last active December 19, 2015 14:48
Show Gist options
  • Save mocchira/5971363 to your computer and use it in GitHub Desktop.
Save mocchira/5971363 to your computer and use it in GitHub Desktop.
about git commands
# 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