ubuntu 中git的代理和取消代理的笔记
1、查看的git配置
git config --global -l
2. fatal: 无法访问 'https://git.openwrt.org/feed/packages.git/':gnutls_handshak
openwrt 执行 ./script/feeds update -a 执行卡住,fatal: unable to access ‘https://git.openwrt.org/feed/packa
git config --global https.proxy http://127.0.0.1:7890
git config --global http.proxy http://127.0.0.1:7890
3.设置 Git 的全局代理
git config --global http.proxy socks5://127.0.0.1:7890 git config --global https.proxy socks5://127.0.0.1:7890
4.验证配置
git config --global --get http.proxy git config --global --get https.proxy
5.移除代理配置(可选)
git config --global --unset http.proxy git config --global --unset https.proxy