Is production: true
#migrated

Title: Skip Git ssl verification

Created: 14 Oct 2019 Modified: 14 Oct 2019

Description: The snippet help to skip the ssl verification when git operation(such as full, fetch, or push) with the git server that is installed a self sign certificate



In some internal system, the git server maybe not with proper generated ssl cert (most likely self signed certificate), this will cause the git prompt error on validating the ssl certificate.
Below snippet shows how to disable the sslVerify temporaryly.

We could use the git option -c http.sslVerify=false to skip the ssl verification.

git -c http.sslVerify=false {command.......}

[Legacy Link]