git后悔药

撤回commit

https://www.cnblogs.com/lfxiao/p/9378763.html

git reset --soft HEAD~1

 

撤回git add .

https://jingyan.baidu.com/article/d8072ac407afbaac95cefd8b.html

git status

git reset

 

 
posted @ 2020-10-12 18:43  习惯沉淀  阅读(167)  评论(0编辑  收藏  举报