https - How to specify CAFile path inline with the GIT command? -
i'm trying clone repository on https , reason local config says take cafile tries use value global config. local config: [http] sslcainfo = c:/../cacert-client.pem global config: [http] sslcainfo = /bin/curl-ca-bundle.crt when i'm executing clone command see instead of local value trying use global cafile value. how specify http.sslcainfo inline git clone command? c:/your/path/to/cacert-client.pem should work ,supposing ' /../ ' in question stands your/path/to (otherwise c:/../xx points non-existent path). if doesn't work, can try other syntax: git config http.sslcainfo /c/your/path/to/cacert-client.pem you can set git_curl_verbose 1 , see more of git using. getting path right (either git config , or environment variable git_ssl_cainfo ) bettern alternative: git_ssl_no_verify=true or git config --global http.sslverify false .