首页 > 其他 > 详细

git常见错误处理

时间:2019-01-04 14:08:54      阅读:138      评论:0      收藏:0      [点我收藏+]

 

1.在git push时无法提交代码,相对于git服务器上,本身代码可能不是最新的,因此提交的时候会报以下这个错误 

Updates were rejected because the tip of your current branch is behind

如果和团队其他人确认你可以强制提交,可以使用如下命令提交:

git push -u origin master -f 

 

此问题参考网页:https://blog.csdn.net/shiren1118/article/details/7761203

git常见错误处理

原文:https://www.cnblogs.com/hbright/p/10218988.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!