git 版本落后推送错误
2016-02-20 20:43
465 查看
http://114.215.90.144/student_association/student.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '
http://114.215.90.144/student_association/student.git' hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
方法一:把本地文件复制一份,然后在把项目从仓库中拉下来
方法二:使用git强制推送命令 git push -f all
方法三: 第一步 :git push origin +some_branch
第二步:git push -u origin master
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '
http://114.215.90.144/student_association/student.git' hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
方法一:把本地文件复制一份,然后在把项目从仓库中拉下来
方法二:使用git强制推送命令 git push -f all
方法三: 第一步 :git push origin +some_branch
第二步:git push -u origin master
相关文章推荐
- int const * p1和 const int * p1的区别
- 截取View当前的图像保存成View
- MySQL_控制台操作_02
- git分支的合并
- <<Effective TCP/IP Programming>>读书笔记
- 三样献瑞
- 查找——图文翔解Treap(树堆)
- 从Tomcat工程源码中学到的软件开发小技巧
- NSOperation使用
- 【慕课笔记】第二章 认识JAVA中的字符串 第1节 什么是JAVA中的字符串
- c++异常安全和copy and swap策略
- 【CodeVS1294】全排列
- File
- JavaScript——注册表单参考模板(含参数格式校验)
- 深入理解Java的接口和抽象类
- 三字母词与转义字符
- 自己动手丰衣足食之移动端日期选择插件(强烈推荐)
- ViewPager渲染背景颜色渐变(引导页)--第三方开源--ColorAnimationView
- segment和polyhedron(obj)求交
- mysql binlog