用gitolite新建项目,clone后首次push,可能会出现: git: No refs in common and none specified; doing no
2015-06-14 18:09
204 查看
用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'
.这是Git 找不到你要提交的版本了。
解决办法:git push origin master
相关文章推荐
- Linux命令之nano -
- linux下git使用记录1 git 提交
- Linux 删除文件夹和文件的命令
- UBUNTU 下GIT的安装
- mysql 常用命令
- mysql 数据类型
- SQL优化
- CSS入门教程——定位(positon)
- a:link,a:visited,a:hover,a:active
- static静态属性和静态方法的原理与调用技巧
- ThinkPHP中的__initialize()和类的构造函数__construct()
- 菜鸟”和“大神”
- 使用命名空间:别名/导入
- Ubuntu配置和修改IP地址
- ssh 与 Telnet 的区别
- Ubuntu 系统搭建php服务器 用ssh 远程操作
- ubuntu如何开启SSH服务
- linux grep命令
- SVN中tag branch trunk用法详解
- Flowplayer-一款免费的WEB视频播放器