admin管理员组

文章数量:1794759

git提交或克隆报错fatal: unable to access

git提交或克隆报错fatal: unable to access

报错信: 或是: 原因:git在拉取或者提交项目时,中间会有git的http和https代理,但是我们本地环境本身就有SSL协议了,所以取消git的https代理即可,不行再取消http的代理。 解决办法:在项目文件夹的命令行窗口执行下面代码,取消git本身的https代理,使用自己本机的代理。

git config --global --unset http.proxy//取消http代理 git config --global --unset https.proxy//取消https代理

本文标签: 报错GitFATALAccessunable