git 遇到的问题

2021-09-09 16:53:24 浏览数 (1)

问题: git pull failed(git pull失败) unable to access 'https://github.com/jinxing163/jiangli-tools.git/': error setting certificate verify locations:

代码语言:javascript复制
方案:
git config --system http.sslcainfo "C:Program FilesGitbincurl-ca-bundle.crt"

执行完遇到权限问题:error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied
解决方案:https://blog.csdn.net/u013358222/article/details/96966686

问题:

fatal: unable to access 'https://github.com/jinxing163/jiangli-tools.git/': Failed to connect to github.com port 443: Timed out

代码语言:javascript复制
方案:
git config --global --unset http.proxy 
git config --global --unset https.proxy

解决方案:cmd下命令执行 ipconfig/flushdns
清理dns缓存

0 人点赞