GitHub desktop stuck on syncing?

Kriss picture Kriss · Aug 1, 2016 · Viewed 7.6k times · Source

I'm trying out GitHub desktop for windows. I downloaded it from https://desktop.github.com/. Logged in with my GitHub credentials and created a git repository locally with the +, create and added the path to the project on my local machine that I wanted to initiate as a git repository. I added the node_modules to the .gitignore file and had 16 files left which I wrote a "summary" message for and pressed the "commit to master" button. It now says "no changes" so I pressed "publish" which I read should give me the option to create a public or private repository. But instead I just see "syncing" which never stops nor upload anything to my GitHub account.

I then had to close the desktop app to make it stop. Next I tried to create an empty repository on GitHub and add the ssh then the https address to repository settings/remote (according to Github Desktop: Not able to publish) but the same thing happened again.

I have also tried 'git sync' with git shell (according to Github desktop sync spins indefinitely), which works in the shell but it does not fix the GitHub Desktop app; next time I tried pressing the sync button it just keeps spinning.

Does anyone have any idea?

Answer

Oreigdor Catropolis picture Oreigdor Catropolis · Sep 24, 2017

I was having the same problem, then I tried running git push from the shell and it worked.