Goal: Push my first commit from my local repo to my private github.com repo.
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.
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.
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.