How to sync unsynced commits in GitHub Windows client?

Ian Boyd picture Ian Boyd · Jul 26, 2013 · Viewed 10.1k times · Source

How do i sync unsynced commits in GitHub for Windows?


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 there are "unsynced commits":

enter image description here

How do i sync unsynced commits?

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

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

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

enter image description here

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

debug the state of this repo

But that doesn't seem to do it:

enter image description here

How do i sync unsynced commits in the GitHub for Windows client?

Bonus Reading

Answer

RobertKenny picture RobertKenny · Aug 17, 2013

Open the Git Shell and type git status this should give some more details as to what is wrong.