git常用命令 提交回撤 提交 git add * git commit -m “beizhu” git push 回撤 撤回本地的commit (未push) git reset --hard HEAD~1 ~1 表示倒数第几次的commit 撤回add (未commit) git reset