rake deploy ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to解决方法
2015-01-19 21:17
796 查看
需要修改项目中Rakefile文件的内容:
原始内容:system “git push origin #{deploy_branch}”
改后内容:system “git push origin +#{deploy_branch}” 多个+号;
再次执行rake deploy,至此,我的问题解决,项目可以deploy到github,回头再将+号去掉;
原始内容:system “git push origin #{deploy_branch}”
改后内容:system “git push origin +#{deploy_branch}” 多个+号;
再次执行rake deploy,至此,我的问题解决,项目可以deploy到github,回头再将+号去掉;
相关文章推荐
- Git学习 -- 远程操作遇到error: failed to push some refs to问题解决方法
- error: failed to push some refs to解决方法
- 【已解决】github中git push origin master出错:error: failed to push some refs to
- git rebase与 git合并(error: failed to push some refs to)解决方法
- 解决本地项目上传到github时$git push -u origin master error failed to push some refs...等错误
- error: failed to push some refs to ...解决方法
- 【已解决】github中git push origin master出错:error: failed to push some refs to
- github commit 报错:error: failed to push some refs to 'https:'错误解决方法
- git - error: failed to push some refs to 'https://github.com/.......git'' 解决办法
- $git push origin master时如何解决failed to push some refs to git问题
- [Git & GitHub] 解决办法:error: failed to push some refs to 'https://github.com/xxxx.git'
- BUG!!!======> 配置git时候 报错 "error: failed to push some refs to "
- git 首次使用以及error: failed to push some refs to ****问题的解决
- error: src refspec master does not match any. error: failed to push some refs to xxx
- error: src refspec master does not match any. error: failed to push some refs to
- Git 解决 error: failed to push some refs to""
- git之error: failed to push some refs to 'https://git.oschina.net问题解决
- 解决git error: failed to push some refs to 'git@github.com:
- error: failed to push some refs to【问题解决】
- Git error (failed to push some refs)解决