GitHub for windows出现Failed to sync this branch错误
来源:互联网 发布:无线上网卡淘宝 编辑:程序博客网 时间:2024/06/05 10:38
今天修改完代码后,像往常一样通过GitHub for windows上传自己最新的代码。可是却出现了问题。
如图所示,看意思是让我们打开Git Shell 去寻找答案了。
打开了Git Shell后,切换到目标文件夹,我先是输入了debug the state of this repo 结果
然后我通过查阅相关博客,试了大神们提供的各种方法,比如删除本地文件夹,重新clone后修改代码上传等等。依然不能正常使用。
解决办法
在GitHub for windows 中Commit你的代码
然后
在Git Shell里输入
git init
git status
git push
再根据提示输入用户名和密码 就上传成功啦
0 0
- GitHub for windows出现Failed to sync this branch错误
- GitHub for Windows提交失败“failed to sync this branch”
- GitHub for Windows提交失败“failed to sync this branch”
- GitHub for Windows提交失败“failed to sync this branch”
- Github错误:Failed to publish this branch
- Github出现failed to sync branch You might need to open a shell and debug the state of this repo的解决方法
- github:Failed to publish this branch
- github:Failed to publish this branch
- failed to sync branch You might need to open a shell and debug the state of this repo.
- failed to sync branch You might need to open a shell and debug the state of this repo.
- failed to sync branch You might need to open a shell and debug the state of this repo
- failed to sync branch You might need to open a shell and debug the state of this repo.
- Github for Windows:Commit failed: Failed to create a new commit
- 解决Failed to sync HAX vcpu context错误
- 依赖包后出现Failed to resolve: com.github.Aspsine:SwipeToLoadLayout:1.0.3错误
- eclipse>>GitHub管理项目出现异常The current branch is not configured for pull No value for key branch解决方法
- Github错误:fatal: Authentication failed for 'https://github.com/ ...
- Github错误:fatal: Authentication failed for 'https://github.com/ ...
- 编译boost到Android平台
- 第16周 点结构体
- Java基础 - 树状数组Java版
- java opts基本参数设置
- SyntaxError: non-keyword arg after keyword arg
- GitHub for windows出现Failed to sync this branch错误
- 让网站在浏览器网址前面显示小图标的方法
- RPC实践(四)Dubbo实践
- 谷歌中国开发者网站地址
- PMI-ACP敏捷实战落地说明会
- C++学习(5)
- 由 bind_mismatch 引起的 大量 version_count 问题
- Java_面向对象(1)_续
- centos7下安装Anaconda