Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub desktop stuck on syncing?

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?

like image 843
Kriss Avatar asked Aug 01 '16 14:08

Kriss


1 Answers

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

like image 157
Kyojo Avatar answered Oct 04 '22 17:10

Kyojo