Home > Blockchain >  Git issue Unsupported proxy syntax in '127.0.0.1:(proxy http port number)'
Git issue Unsupported proxy syntax in '127.0.0.1:(proxy http port number)'

Time:12-29

I want to clone the file from github but it reports such a problem.


Fatal: unable to access 'https://github.com/Nikko-X/Daily-Training--C-and-C-.git/': Unsupported proxy syntax in '127.0.0.1:(proxy http port number)'

CodePudding user response:

Looks like your Git is configured to use an outbound proxy.

Check your Git outbound proxy configuration and unset it.

# Get global value
git config --global --get https.proxy
git config --global --get http.proxy

# Unset global value
git config --global --unset https.proxy
git config --global --unset http.proxy

CodePudding user response:

git config --global --unset-all remote.origin.proxy

worked for me!

  •  Tags:  
  • git
  • Related