2

In my work/office enviroment we use a proxy server. When working from home there is no proxy. I am trying to do a git fetch:

fatal: unable to access 'https://github.com/myapp/myrepo.git/': Fail
ed connect to github.com:8080; No error

Normally when I am in the office and I run this command it will ask for a password to the repo. At home it does not ask it instead it shows the error above. How can I fix this/avoid this error?

Pindakaas
  • 4,389
  • 16
  • 48
  • 83

1 Answers1

0

Even though you went through all your config settings, it is always safe to double-check:

git config --local  --unset http.proxy
git config --local  --unset https.proxy
git config --global --unset http.proxy
git config --global --unset https.proxy

Check also your environment variables (for any HTTP(S)_PROXY variable)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250