commit之后撤销commit操作: git reset --soft HEAD^ 不回退代码 git reset --hard HEAD^ 回退代码
Git操作笔记
原文:https://www.cnblogs.com/zhwcs/p/9447895.html