-
打开Git 配置文件
vi ~/.gitconfig
-
添加如下配置:
[http "https://github.com/"]
proxy = http://127.0.0.1:1081
[https "https://github.com/"]
proxy = http://127.0.0.1:1081
[http "https://my.comapnyserver.com/"]
proxy = ""
2023-12-27 09:24:09
打开Git 配置文件
vi ~/.gitconfig
添加如下配置:
[http "https://github.com/"]
proxy = http://127.0.0.1:1081
[https "https://github.com/"]
proxy = http://127.0.0.1:1081
[http "https://my.comapnyserver.com/"]
proxy = ""