Git commands without SSL verify
Posted on Tue 14 February 2017 in git
-
Use git commands on a git server without proper SSL certificate
$ env GIT_SSL_NO_VERIFY=true git COMMAND
-
To disable SSL certificate checking for repo only
$ git config http.sslVerify "false"
-
To disable SSL certificate checking for all repos
$ git config --global http.sslVerify "false"