1,移除git add . 的内容

git reset HEAD

2,移除git commit 的内容(commit_A是文件名)

git rebase -i  commit_A

 

相关文章: