failed to sync branch You might need to open a shell and deb

failed to sync branchYou might need to open a shell and debug the state of thisrepo.

i made some changes to a file a month ago. i just realized today that they didn’t go anywhere; the GitHub web-site has no history of my changes.

The client has no indication that anything is out of date (there are no"uncommitted changes"). But thereare"unsynced commits":

How do i sync unsynced commits?

I tried nothing, and i’m fresh out of ideas

i tried clicking thesyncbutton (whatever that means), but all i get (after a progress bar moves for about 7 seconds) is:

failed to sync branchYou might need to open a shell and debug the state of this repo.

ClickingOPEN SHELL, causes a powershell prompt to appear, where i type:

debug the state of this repo

But that doesn’t seem to do it:

How do i sync unsynced commits in theGitHub for Windowsclient?

解决办法:

fatal: Not a git repository (or any of the parent directories): .git

提示说没有.git这样一个目录,,解决办法如下:

git init就可以了!

版权声明:本文为博主原创文章,未经博主允许不得转载。

我就想是一只草原中被牧童遗忘的羊,

failed to sync branch You might need to open a shell and deb

相关文章:

你感兴趣的文章:

标签云: