Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github failed to sync branch

I'm using W7 64 bi , and just got an error from the github client app. It says:

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

What do I do now ?

like image 273
Mariano Grandioso Avatar asked Feb 26 '13 06:02

Mariano Grandioso


1 Answers

I know this will sound crazy, but try restarting your computer.

This happend to me yesterday; I was getting this error, and upon checking: \AppData\Local\GitHub\TheLog.txt

I found messages like:

AppData\Local\GitHub\PortableGit_ca477551eeb4aea0e4ae9fcd3358bd96720bb5c8\bin\sh.exe:
*** Couldn't reserve space for cygwin's heap, Win32 error 0

The problem comes around to GitHub for Windows updating itself (in particular the cygwin-ized PortableGit) in the background while I was using it. Ultimately, some cygwin dlls from the previous PortableGit dlls were still loaded in memory causing errors when trying to execute the new (updated) PortableGit commands.

Restarting cleared out all the previously loaded cygwin dlls.

like image 130
Brian Chavez Avatar answered Oct 16 '22 19:10

Brian Chavez