Created
April 8, 2016 03:20
-
-
Save tqyq/aa6f1a17c8439774ec8d34e21bbf0d2e to your computer and use it in GitHub Desktop.
git 删除错误提交的commit
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_id> | |
| git push origin HEAD --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment