git push --force

一.--force命令

如果git要强制覆盖,那么可以使用--force命令。

$ git push --force origin 

二.参考资料

[1]阮一峰 Git远程操作详解

猜你喜欢

转载自blog.csdn.net/cckavin/article/details/85050194
今日推荐