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
转自: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
相关文章推荐
- 用gitolite新建项目,clone后首次push,可能会出现: git: No refs in common and none specified; doing no
- git: No refs in common and none specified; doing no
- No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'ma
- git: No refs in common and none specified; doing no
- git push ‘No refs in common and none specified’doing nothing
- 用gitolite新建项目,clone后首次push,可能会出现: git: No refs in common and none specified; doing no
- Git Tip: git push ‘No refs in common and none specified’
- 布局文件提示错误“No orientation specified, and the default is horizontal. This is a common so...”
- No orientation specified, and the default is horizontal. This is a common source of bugs
- No orientation specified, and the default is horizontal. This is a common source of bugs when ...
- No orientation specified, and the default is horizontal. This is a common source of bugs when childr
- No orientation specified, and the default is horizontal. This is a common so
- Azure 删除VHD时报错:There is currently a lease on the blob and no lease ID was specified in the request
- 布局文件提示错误“No orientation specified, and the default is horizontal. This is a common so...”
- No orientation specified, and the default is horizontal. This is a common source of bugs when childr
- solr web服务器管理界面_错误:查询 no field name specified in query and no default specified via 'df' param
- The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
- No orientation specified, and the default is horizontal. This is a common source of bugs when childr
- 布局文件提示错误“No orientation specified, and the default is horizontal. This is a common so...”
- 布局文件提示错误“No orientation specified, and the default is horizontal. This is a common so...”