就reset吧,reset牛逼 https://blog.csdn.net/yxlshk/article/details/79944535 這篇博客 最后push的時候 git push -f origin [分支名]