Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git push and pull over http hangs on Windows, no errors

As the title says when I attempt to git push it simply hangs. This is on Windows 10 with existing repos and some new ones I created specifically for testing this. I've also tried two different hosts (i.e. github and bitbucket). My public repos on github allow me to git pull but my private repos on bitbucket do not. I set up SSH for one repo and I was able to push/pull however I've had issues using git over ssh on this system in the past so I'd much rather get everything working again over http.

So far I have tried:

  • Restart computer
  • Removed all git related credentials from Windows credential manager
  • Uninstalled SourceTree (only other git related app on my PC)
  • Uninstalled and Reinstalled git for windows from https://git-scm.com/downloads
  • Disabled firewall
  • Set git to not use git-credential-manager via git config --global credential.helper cache

Anyone have any insight on this?

like image 672
Nathan Avatar asked Feb 24 '26 17:02

Nathan


1 Answers

After tinkering with this a little bit longer I discovered the problem... my global gitconfig has a setting called "modalPrompt" set to false. This apparently just hides the username/password prompts which makes it look like git is hanging.

headdesk

During my googling and SO searching I didn't come across this as an answer so posting for posterity.

like image 98
Nathan Avatar answered Feb 27 '26 06:02

Nathan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!