0

I set http_proxy in my /etc/environment file but I removed it recently. I am trying to checkout a project from git but I am always getting following error.

fatal: unable to access 'https://github.com/yyy.git/': Could not resolve proxy: xxx.xxx.xxx.xxx

I double checked my system proxy and git proxy setting using following commands but they do not show me any applied proxy setting. How can I solve this issue?

env | grep proxy
git config -l | grep proxy
Malintha
  • 4,512
  • 9
  • 48
  • 82
  • Possible duplicate of [Reset git proxy to default configuration](https://stackoverflow.com/questions/11265463/reset-git-proxy-to-default-configuration) – jww Jun 24 '17 at 20:06

1 Answers1

1

git config --global --unset http.proxy resolved the issue

Malintha
  • 4,512
  • 9
  • 48
  • 82