How do I configure Git to trust certificates from the Windows Certificate Store?

后端 未结 2 1090
醉梦人生
醉梦人生 2020-12-07 13:52

Currently I have the following entry in my .gitconfig in my user directory.

...
[http]
    sslCAInfo=C:\\\\Users\\\\julian.lettner\\\\.ssh\\\\gi         


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-07 14:13

    Use:

    git config  --local ...
    

    To specify per-repository settings. Local settings are stored in the .git directory.

    An overview of the three locations where git can store settings:

    • --local: Repository specific, /.git/config
    • --global: User-specific, ~/.gitconfig
    • --system: System default, /etc/gitconfig

    More specific ones override more general settings, i.e. local overrides both global and system.

提交回复
热议问题