git 撤销上次 commit

git reset --soft HEAD^ 

 

posted @ 2022-10-18 15:18  生命在于折腾Up  阅读(44)  评论(0编辑  收藏  举报