1. 撤销 gti commit -m "描述"
问题:修改文件过多的话 push 会失败,严重会影响 git 服务挂掉。
解决: 1. git reset --soft HEAD^
不会丢弃文件,只会还原到 git commit -m “” 之前