git - How to configure to use the trusted certificate from the windows certificate? -
currently have following entry in .gitconfig
in user directory.
... [http] sslcainfo=c:\\users\\julian.lettner\\.ssh\\git-test.pem ...
this sets certificate use when interacting git server (required company's git server). cannot clone other repositories (for example public repo on github) because client uses configured certificate gets rejected other servers.
how can circumvent problem?
or there way configure git use windows certification store authenticate.
thanks time,
julian
use:
git config --local ...
to specify per-repository settings. local settings stored in .git
directory.
an overview of 3 locations git
can store settings:
--local
: repository specific,<repo_dir>/.git/config
--global
: user-specific,~/.gitconfig
--system
: system default,/etc/gitconfig
more specific ones override more general settings, i.e. local overrides both global , system.
Comments
Post a Comment