push 以后,git commit多且杂乱:
git reset 到希望回退的最后一个commit之前的一次,(撤销本地的提交记录,但是本地的修改文件保持不变, --hard参数会吧文件修改也回退掉)
git push --force (撤销远程的)
然后再重新add commit push。