其实估计跟前段时间乱玩rebase有关,用 git push
正常,但是sync就会提示”GitHub - Failed to sync this branch”
打开git shell
输入git status
它会提示你原因
我这里提示是 “Could not open file .git/rebase-merge/done for reading: No such file or directory”
把rebase-merge整个删掉后就正常了
其实估计跟前段时间乱玩rebase有关,用 git push
正常,但是sync就会提示”GitHub - Failed to sync this branch”
打开git shell
输入git status
它会提示你原因
我这里提示是 “Could not open file .git/rebase-merge/done for reading: No such file or directory”
把rebase-merge整个删掉后就正常了
原文作者:ted423
原文链接:http://ted423.github.io/Code/Git/Failed%20to%20sync%20this%20branch/
发表日期:August 18th 2021, 8:19:22 pm
更新日期:March 13th 2017, 9:21:00 pm
版权声明:本站原创内容(一般是语句不通顺的那种)采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可,转载内容以及不带个人观点的分享不在此例,摘抄有Wiki的内容的文章统一根据Wiki采用 CC BY-SA 3.0