Github Windows 'Failed to sync this branch'

标签 git github github-for-windows

我正在使用 Github Windows 1.0.38.1,当我在提交后单击“同步”按钮时,出现错误

enter image description here

如何调试这个问题?如果在 shell 中,我该怎么办?

如果我执行 git pushgit pull 同步工作正常,但下次我想使用 Github windows 同步时,我会遇到同样的错误。

最佳答案

当它这样说时,只需打开 shell 并执行 git status。这将使您对可能出现的问题以及您的 repo 协议(protocol)的状态有一个很好的了解。

我不能给你一个具体的错误,因为它在 Github for Windows 中发生的原因有很多,比如更新子模块等的一些问题。

关于Github Windows 'Failed to sync this branch',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15387640/

相关文章:

html - 网站的 Github 页面上未显示背景图片

android - 从 github 拉取最新代码到 Android Studio

github-for-windows - github for windows,克隆的repos不要放在github选项卡中

python - 将字符串作为文件传递给 rubocop

git - merge 后如何在 fork 的 GitHub 存储库上重新工作?

git - 将 git 别名推送到远程仓库

git - 在github上fork一个目录

Github Authentication Failed - ... GitHub不提供shell访问

windows-7-x64 - 安装适用于 Windows 的 GitHub

git checkout 远程引用