error: failed to push some refs to 'git@github.com:xxxxxxxx.git'
2018-03-06 20:15
561 查看
往Github的一个新仓库中提交内容,提示:error: failed to push some refs to 'git@github.com:zhouyingge1104/AutoZhenjiu.git'
网上找到了原因:原来是新建的仓库中有一个README.md文件不在本地所致,解决办法:
$ git pull --rebase origin master
这样就把README.md给拉下来了。
然后$ git push -u origin master,推送完成。
网上找到了原因:原来是新建的仓库中有一个README.md文件不在本地所致,解决办法:
$ git pull --rebase origin master
这样就把README.md给拉下来了。
然后$ git push -u origin master,推送完成。
相关文章推荐
- git push报错error: failed to push some refs to 'git@github.com:
- 解决git error: failed to push some refs to 'git@github.com:
- git - error: failed to push some refs to 'https://github.com/xuzhezhaozhao/Practice.git' 解决办法
- 提示git error: failed to push some refs to 'git@github.com:
- git - error: failed to push some refs to 'https://github.com/.......git'' 解决办法
- 解决git error: failed to push some refs to 'git@github.com:
- git push报错error: failed to push some refs to 'git@github.com:
- 在github上传项目遇到的问题(error: failed to push some refs to 'https://github.com/CrazyDony/text.git')
- error: failed to push some refs to git@github.com:damononliu/cv_python.git
- error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote c
- error: failed to push some refs to 'git@github.com:GoodMemery/mytest.git'
- error: failed to push some refs to 'git@github.com:
- error: failed to push some refs to 'git@github.com:jack-don/elema_vue.git' hint: Updates were reject
- error: failed to push some refs to 'git@github.com:yourname/repositoryname.git'
- git上传到一半最后报error:failed to push some refs to 'git@github.com:yourname/repositoryname.git'
- [Git & GitHub] 解决办法:error: failed to push some refs to 'https://github.com/xxxx.git'
- Git提交数据失败 error: failed to push some refs to 'https://github.com/XXXXXXX/gif.git'
- error: failed to push some refs to 'https://github.com/.....'
- GitHub学习-----如何解决 error: failed to push some refs to git
- 【已解决】github中git push origin master出错:error: failed to push some refs to