​# 配置代理
# 127.0.0.1是自己电脑的IP,7890是自己电脑的代理端口
git config --global https.proxy http://127.0.0.1:7890

git config --global https.proxy https://127.0.0.1:7890  # HTTPS


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

git config --global --unset https.proxy

# 查看代理
git config --global https.proxy

npm config delete proxy

​


Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐