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 time I do a git operation. But I would also like to leave SSL enabled for other git repositories. Is there a way to make this local to a single repo?
You can do
git config http.sslVerify "false"
in your specific repo to disable SSL certificate checking for that repo only.