Miscellaneous git issues

From Notes_Wiki
Revision as of 03:20, 15 September 2019 by Saurabh (talk | contribs)

<yambe:breadcrumb>Git|Git</yambe:breadcrumb>

Miscellaneous git issues

Using git over http proxy

To use git over http proxy use:

git config --global http.proxy <proxy server>

example

git config --global http.proxy http://proxy.example.com:3128/

Disable git https self-signed certificate validation

To disable git https validation during cloning use

git -c http.sslVerify=false clone <repository-https-url>

where "-c http.sslVerity=false" disables HTTPS certificate verification.

After this use:

git config http.sslVerify false

to disable certificate verification for this repository. https://stackoverflow.com/questions/11621768/how-can-i-make-git-accept-a-self-signed-certificate


<yambe:breadcrumb>Git|Git</yambe:breadcrumb>