Reputation: 26034
I'm executing git config --global http.proxy http://user:[email protected]:3128
to configure a proxy in GIT. The problem is when my user contains an @
.
User: myuser@test
Password: 1234
If I run: git config --global http.proxy http://myuser@test:[email protected]:3128
I get the error: Couldn't resolve proxy 'test'
How can I solve it? Thanks.
Upvotes: 0
Views: 166
Reputation: 814
Use the encoded value of @
: %40123
Like this :
git config --global http.proxy http://myuser%40123test:[email protected]:3128
source : Escape @ character in git proxy password
Upvotes: 1