1、撤销 add 添加:git rm -r --cached . (参考:https://www.cnblogs.com/wuchanming/p/5428897.html)
2、撤销 commit 提交:git commit --amend