git配置

232 阅读1分钟

git配置

1、查看所有配置信息

git config -l
git config -l-list

2、proxy配置

添加

git config --global http.proxy http://192.168.28.54:8080
git config --global https.proxy http://192.168.28.54:8080

取消

git config --global --unset http.proxy
git config --global --unset https.proxy