push 出现问题 master -> master (fetch first)
2017-07-19 09:56
543 查看
gzfzdeMacBook-Air:xianqiao gzfz$ git push origin master
To https://git.oschina.net/guijildl/xianqiao.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://git.oschina.net/guijildl/xianqiao.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first 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 push origin master -f
To https://git.oschina.net/guijildl/xianqiao.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://git.oschina.net/guijildl/xianqiao.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first 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 push origin master -f
相关文章推荐
- git本地仓库首次push到远程仓库出现错误 ! [rejected] master -> master (fetch first)
- git 报错 git [rejected] master -> master (fetch first)(non-fast forward) 的解决方法
- [rejected] master -> master (fetch first)
- git 使用以及 部分错误 [rejected] master -> master (fetch first)(non-fast forward)
- GitHub报错master->master(fetch first)的解决方法
- git提交远程报错[rejected] master -> master (fetch first)
- git ! [rejected] master -> master (fetch first)
- git ! [rejected] master -> master (fetch first)
- git push error report: ! [remote rejected] master -> refs/for/master (no new changes)
- Xcode pch中加入#include <opencv2/opencv.hpp>出现#include <list>找不到symbol 的问题
- git push时出现错误refusing to update checked out branch: refs/heads/master
- fragment引用图片出现问题<interface declaration>, <parcelable declaration>, AidlTokenType.import or AidlToken
- 基于gis的系统开发,程序运行出现问题 ArcGIS product not specified.You must first bind to an ArcGIS version prior to using any ArcGIS components.
- 解决VS中出现_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse))的问题
- Android中设置字体大小出现的问题(操作位置:Settings->Display->Font size)
- 编译minicom出现问题:error: ‘BC’ undeclared (first use in this function)
- OpenLayer3通过wfs修改Geoserver中图层要素,并出现图层只读问题解决(is read-only</ows:ExceptionText>)
- 访问Storm ui界面,出现org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts ["master"]. Did you specify a valid list of nimbus hosts for confi的问题解决(图文详解)
- [Linux] Git: push 出错的解决 master -> master (branch is currently checked out)