Unable to pull/push in git repository

前端 未结 23 2344
执笔经年
执笔经年 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:03

    This will do the work while moving from GIT 2.x clients to 2.5.x:

    Looks like after installing a new version of GIT client, it changes the path it looks for certificates from something like this:

    C:\Program Files\Git\mingw64
    

    to something like this:

    C:\Program Files\Git\mingw64\libexec
    

    To fix this, just copy the 'ssl' folder to the new location and it'll work like a charm!

提交回复
热议问题