解决github :error: failed to push some refs to 问题
来源:互联网 发布:防晒面料 知乎 编辑:程序博客网 时间:2024/06/05 14:15
**
错误代码报告如下
**
To git@github.com:Fu4ng/Cpp.git ! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'git@github.com:Fu4ng/Cpp.git'hint: Updates were rejected because the tip of your current branch is behindhint: its remote counterpart. Integrate the remote changes (e.g.hint: 'git pull ...') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.
解决方案
出现这个问题是你的本地库中没有README.MD 文件
解决方法也很简单
输入git pull --rebase origin master
就能把github中的MD文件拉下来了。。
在输入 git push -u origin master 就可以成功上传代码了。
0 0
- 解决github :error: failed to push some refs to 问题
- github error: failed to push some refs to错误解决
- 【已解决】github中git push origin master出错:error: failed to push some refs to
- error: failed to push some refs to 'https://github.com/.....'
- error: failed to push some refs to 'git@github.com:
- github如何解决failed to push some refs to git
- 解决git error: failed to push some refs to 'git@github.com:
- GitHub学习-----如何解决 error: failed to push some refs to git
- error: failed to push some refs to
- 解决failed to push some refs to
- Git error (failed to push some refs)解决
- 如何解决error: failed to push some refs
- git 首次使用以及error: failed to push some refs to ****问题的解决
- 在github上传项目遇到的问题(error: failed to push some refs to 'https://github.com/CrazyDony/text.git')
- git push报错error: failed to push some refs to 'git@github.com:
- github中git push origin master出错:error: failed to push some refs to
- git push报错error: failed to push some refs to 'git@github.com:
- github中git push origin master出错:error: failed to push some refs to
- 运用Python的webbrowser定时打开特定网页
- ACM14题
- 【数据结构】基本概念
- Subject: [android-porting] Mouse cursor:issue with dispatchPointer
- FFMPEG常用命令
- 解决github :error: failed to push some refs to 问题
- iOS遍历打印所有子视图
- opencv2与opencv的不同
- 【数据结构_树_Tree_0981】统计利用二叉树存储的森林中树的棵数
- STM32基础(三)----DMA总结笔记
- 隐式类型转换
- 位运算简介及实用
- poj 1664 放苹果 (递推)
- 数据(CDQ分治+树状数组)