gitlab 错误处理
Posted Lancer@Lancer
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gitlab 错误处理相关的知识,希望对你有一定的参考价值。
用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‘
以上是关于gitlab 错误处理的主要内容,如果未能解决你的问题,请参考以下文章