git 遇到的问题

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

方案:
git config --system http.sslcainfo "C:\Program Files\Git\bin\curl-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

方案:
git config --global --unset http.proxy 
git config --global --unset https.proxy

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

 

git 遇到的问题

上一篇:日记6


下一篇:学习心得体会