I'm trying to find a working .gitconfig setup that fulfills two requirements:
- sslVerify must be set to false for internal servers or at least for one specific server
- a proxy needs to be configured for external repositories (with sslVerify set to true, of course).
My current version gives me access problems when connecting to my internal repo. I guess that somehow that two last instructions are wrong.
[user]
name = John Doe
email = [email protected]
[https]
proxy = http://johndoe:[email protected]:6666
[http]
proxy = http://johndoe:[email protected]:6666
[http "https://repo.company.com/"]
sslVerify = false
[https "https://repo.company.com/"]
sslVerify = false
What is the correct syntax for this case? I use Git 2.12.2.windows.2.