I'm looking for a way, to disable the Git SSL verification globally but for a single remote only.
The only ways I know about, are these two possibilies:
- Do it globally, for all remotes:
git config --global http.sslVerify false
- Do it locally in every single remotes repo:
git config --local http.sslVerify false
But is there a chance to set the config like you can do it with proxy settings? For example:
I have a system wide set proxy config in my ~/.gitconfig
. But instead of overriding it by a local proxy setting, I used:
git config --global remote.<remote name>.proxy ""
(in this case for a direct connection)
Unfortunately something like the following does not work:
git config --global remote.<remote name>.http.sslVerify false
Any ideas? Thanks and regards!