Git Change Commit 发表于 2014-11-21 | 分类于 git git commit --amend change least commit git revert HEAD cancel the least commit git reset --hard HEAD~~ delete 2 commit in master least if your operation is error, you can rollback this with git reset --hard ORIG_HEAD :blush: