- 博客(1)
- 收藏
- 关注
原创 git学习笔记
git commit --amend 若只是commit注释内容写错,就执行git commit --amend去修改commit的内容即可;git reset --mixed HEAD^ :不删除工作空间改动代码,撤销commit,并且撤销git add .;git reset --soft HEAD^ :不删除工作空间改动代码,撤销commit,不撤销git add .;git reset --hard HEAD^ :删除工作空间改动代码,撤销commit,并且撤销git add .;
2023-07-24 10:52:38 163
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人