1、撤销 add 添加:git rm -r --cached . (参考:https://www.cnblogs.com/wuchanming/p/5428897.html)
2、撤销 commit 提交:git commit --amend
本文共 174 字,大约阅读时间需要 1 分钟。
1、撤销 add 添加:git rm -r --cached . (参考:https://www.cnblogs.com/wuchanming/p/5428897.html)
2、撤销 commit 提交:git commit --amend
转载于:https://www.cnblogs.com/jingyi17/p/10159023.html