git错误:error: failed to push some refs to
2012-12-02 23:12
716 查看
本人在使用git提交代码的时候发现错误,错误如下:
feixiang@FEIXIANG-PC /d/workspace/fanjf (master)
$ git push -u origin master
Enter passphrase for key '/c/Users/feixiang/.ssh/id_rsa':
error: src refspec master does not match any.
error: failed to push some refs to 'git@github.com:thisisvoa/fanjf.git'
解决办法:
发现是由于远程仓库中代码版本与本地不一致冲突导致的。
git pull
再自动merge或手动merge冲突
再次git push
成功解决问题
相关文章推荐
- Git本地分支版本号过低导致的push错误 error: failed to push some refs to ... 及兴许amend
- git 错误error: failed to push some refs to
- Git本地分支版本过低导致的push错误 error: failed to push some refs to ... 及后续amend
- 解决本地项目上传到github时$git push -u origin master error failed to push some refs...等错误
- git上传到一半最后报error:failed to push some refs to 'git@github.com:yourname/repositoryname.git'
- 【已解决】github中git push origin master出错:error: failed to push some refs to
- error: failed to push some refs【Linux】【Git】
- git push报错error: failed to push some refs to 'git@github.com:
- git - error: failed to push some refs to 'https://github.com/xuzhezhaozhao/Practice.git' 解决办法
- error: failed to push some refs【Linux】【Git】
- Git提交数据失败 error: failed to push some refs to 'https://github.com/XXXXXXX/gif.git'
- 解决git error: failed to push some refs to 'git@github.com:
- Git push 报错 "error: failed to push some refs to " 解决
- error: failed to push some refs to 'http://gitlab.guoshang.com/factoring_service/ticket_five.git'
- git上传遇到的问题:error: failed to push some refs to
- github commit 报错:error: failed to push some refs to 'https:'错误解决方法
- error: failed to push some refs to git@github.com:damononliu/cv_python.git
- error: failed to push some refs to git的解决办法
- error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote c
- git push报错error: failed to push some refs to 'git@github.com: