I'm trying to use git behind a proxy and i have set up the proxy details in the .gitconfig files as follows.
[http]
proxy = http://<username>:<password>@<proxy_ip>:<proxy_port>
The problem is that the username and password field contain the '@' character which needs to be escaped.How should it be escaped?
Replacing @
with %40
. (as illustrated, for instance, in this bug report)
export http_proxy=http://username%40domain.com:password@host:port
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With