确保本地最新的时候,使用
git push origin master --force
将使本地强制覆盖远程。
其它参考:
http://jerry-chen.iteye.com/blog/2059976