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

浙公網安備 33010602011771號