0

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.

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.