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
On Linux, if you call this inside the git repository folder:
git config http.sslVerify false
this will add sslVerify = false in the [http] section of the config file in the .git folder, which can also be the solution, if you want to add this manually with nano .git/config:
...
[http]
sslVerify = false