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

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)'

git


Solution 1:[1]

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

worked for me!

Solution 2:[2]

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

Solution 3:[3]

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

This worked for me too.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ramil Aliyev
Solution 2 Fizn-Ahmd
Solution 3 Mahadi Hassan Riyadh