Github Windows'无法同步此分支' [英] Github Windows 'Failed to sync this branch'

查看:102
本文介绍了Github Windows'无法同步此分支'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Github Windows 1.0.38.1,当我在提交后点击'同步'按钮,我得到错误



如何调试此问题?如果在shell中,我应该怎么做?



如果我执行 git push git pull ,但下一次我想使用Github窗口进行同步时,我会得到同样的错误。

解决方案

当它说,只需打开shell并执行 git status 。这将给你一个关于什么可能是错误的,以及你的回购的状态一个体面的想法。



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


I am using Github Windows 1.0.38.1 and when I click the 'Sync' button after committing, I get the error

How do I debug this problem? If in the shell, what should I do?

The sync works fine if i do a git push or git pull, but the next time I want to sync using Github windows, I get the same error.

解决方案

When it says that, just open the shell and do git status. That will give you a decent idea of what could be wrong and the state of your repo.

I can't give you a specific error for this as it happens for many reasons in Github for Windows, like say some problem in updating submodules etc.

这篇关于Github Windows'无法同步此分支'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆