Unable to pull/push in git repository

前端 未结 23 2408
执笔经年
执笔经年 2020-12-08 06:15
$ git pull origin master
fatal: unable to access \'https://xxxxxxxxxxxxxxx\': 
      error setting certificate verify locations:
CAfile: C:/Users/abc/AppData/Local/P         


        
23条回答
  •  醉酒成梦
    2020-12-08 07:05

    If your git version is 2.8.1.windows.1,this may help you. First , you need to locate your git home directory,mine is D:\SDK\Git.Just in the same directory,you can find folder "usr",open it and goes to \ssl\certs,you can find the certificate:ca-bundle.crt.

    Then open console,execute:
    git config --system http.sslcainfo "D:\SDK\Git\usr\ssl\certscabundle.crt"

提交回复
热议问题