Skip to content

Instantly share code, notes, and snippets.

@popomore
Created November 30, 2012 16:53
Show Gist options
  • Save popomore/4176948 to your computer and use it in GitHub Desktop.
Save popomore/4176948 to your computer and use it in GitHub Desktop.
删除 github 所有的 commit

找到你要回到的 hash

$ git reset --hard hash
$ git push -f origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment