Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

git push -u origin master: hangs; nothing happens; github.com repo not updated

Goal: Push my first commit from my local repo to my private github.com repo.

 

Problem:

git push -u origin master seems to hang.

 

That is, it doesn't product output in the terminal, the github.com repo that I've set as the origin doesn't show the files, and I have to cancel the process via control + c.

git issue.pnggit -u push origin master hangs

What I've done:

$ cd leetcode
$ git init
$ echo 'leetcode_problems_cleanup/' >> .gitignore
$ touch problems/1_two_sum.py
$ git add .
$ git commit -m 'first commit'
$ git remote add origin https://github.com/vishrutarya/leetcode.git
$ git push -u origin master

My github.com credentials are stored in my osx keychain.

1 Reply
Community Manager
Message 2 of 2

Re: git push -u origin master: hangs; nothing happens; github.com repo not updated

Have you taken a look at our network troubleshooting documentation? If you need to use the GitHub Debug site, please send in the results directly to private support via the link provided in the documentation.

 

Let us know if you have more questions.