首页 > 其他 > 详细

gitlab 错误处理

时间:2016-05-30 23:16:51      阅读:361      评论:0      收藏:0      [点我收藏+]

用gitolite新建项目,clone后首次push,可能会出现:

$ git push  
No refs in common and none specified; doing nothing.  
Perhaps you should specify a branch such as ‘master‘.  
fatal: The remote end hung up unexpectedly  
error: failed to push some refs to ‘file:///xxxxxxx.git‘  

 

这是Git 找不到你要提交的版本了。
 
解决办法:git push origin master

 


  • $ git push  
  • No refs in common and none specified; doing nothing.  
  • Perhaps you should specify a branch such as ‘master‘.  
  • fatal: The remote end hung up unexpectedly  
  • error: failed to push some refs to ‘file:///xxxxxxx.git‘  

gitlab 错误处理

原文:http://www.cnblogs.com/Lance--blog/p/5544100.html

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