您的位置:首页 > 其它

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

2016-07-26 20:57 330 查看
创建新项目,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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: