How do I set GIT_SSL_NO_VERIFY for specific repos only?

前端 未结 11 1989
迷失自我
迷失自我 2020-12-02 03:12

I have to use a git server without proper certificates, but I don\'t want to have to do

env GIT_SSL_NO_VERIFY=true git command

every single

11条回答
  •  自闭症患者
    2020-12-02 04:10

    You can do

    git config http.sslVerify "false"
    

    in your specific repo to disable SSL certificate checking for that repo only.

提交回复
热议问题