Unable to pull/push in git repository

前端 未结 23 2361
执笔经年
执笔经年 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 06:53

    I found the ssl certificate at :

    C:\Users\[USERNAME]\AppData\Local\GitHub\PortableGit_[portable code]\usr\ssl\certs
    

    then you can follow solution by CodeWizard i.e. :

    // Add the certificate to your configuration file
    git config --system http.sslcainfo "[LOCATION_SPECIFIED_ABOVE]/cabundle.crt"
    

提交回复
热议问题