git 撤销已push的commit

git reset HEAD^^^...

git commit -m "..."

git push origin --force

 

原文地址:https://www.cnblogs.com/cdyboke/p/7045511.html