您的位置:首页 > 其它

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

2015-01-22 17:31 483 查看
git push 出错,在网上搜了一下,分享!

转自:http://blog.sina.com.cn/s/blog_7607703f01018hsv.html


用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 找不到你要提交的版本了。

解决办法:gitpush origin master
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐