删除最后一次提交

git revert HEAD

git push origin master

原文地址:https://www.cnblogs.com/WPF0414/p/10623323.html