git push报错

 

git: No refs in common and none specified; doing no

 (2012-10-28 11:43:10)
标签: 

杂谈

 
分类: 项目管理
用gitolite新建项目,clone后首次push,可能会出现:
 
 
  1. $ git push  
  2. No refs in common and none specified; doing nothing.  
  3. Perhaps you should specify a branch such as 'master'.  
  4. fatal: The remote end hung up unexpectedly  
  5. error: failed to push some refs to 'file:///xxxxxxx.git'  
 
.这是Git 找不到你要提交的版本了。
 
解决办法:git push origin master
坚持下去就能成功
原文地址:https://www.cnblogs.com/suoking/p/5431463.html