2

I have this proxy defined in my /git/.gitconfig

[http "https://dpl.tdk.com"]
    proxy = http://10.0.11.25:8080

but somehow does not appear when I do git config --list

I want to add it manually, but I don't know how to do it, since there is a <username>:<password> that I don't have

git config --global http.proxy http://<username>:<password>@10.0.14.15:8080
1
  • Did you mean "in my .git/config file"? Commented Feb 20, 2019 at 14:27

2 Answers 2

1

git config --global http.proxy http://10.0.14.15:8080

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

Comments

0

You're close:

git config --global http."https://dpl.tdk.com".proxy http://<username>:<password>@10.0.14.15:8080

For <username> and <password> ask your network admins.

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.