akadir's blog

Using git behind proxy on windows

November 15, 2019

In this post we will see yet another proxy configuration.

You can make git proxy configurations using git config http.proxy command but as you know, this command requires password and it’s stored without encryption in .gitconfig file and we don’t want this.

Using following list of commands we can configure git to use the standard windows Credential Manager to store credentials.

git config --global http.proxy http://user@proxy.corporate.com:8080
git config --global https.proxy http://user@proxy.corporate.com:8080
git config http.sslVerify false
git config https.sslVerify false
git config --global credential.helper wincred</code></pre>

references and further readings:

- https://stackoverflow.com/questions/22799825

- https://stackoverflow.com/questions/38333752

- git remember password

- https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage


akadir

Personal blog by akadir.