Git push hangs everytime I try to push to github. I am using Cygwin and Windows 7. Git functions fine locally tracking branches, providing status, setting global user.name a
Try GIT_CURL_VERBOSE=1 git push ...It may happen due to proxy setting git will be trying to reach github.com via proxy server and proxy is not responding. With GIT_CURL_VERBOSE=1 will show the ip address and some information. you can compare ip address with command output "host www.github.com" ip address. if they are different then you can make https_proxy="" and try again.
For the sake of completeness (sometimes problems like this are not as complicated as they might seem):
Having a non-existing remote repository configured can also result in this behavior - I recently found out by accidentally changing my origin's URL to githu.com
.
I'm wondering if it's the same thing I had...
This (almost verbatim) comes from :
https://tortoisegit.org/issue/1880