24 条回复  ·  2715 次点击
BitGeek 初学 2025-8-28 15:39:52
我在 linux 里的方案是直接在/etc/profile 里添加 all_proxy=...
Oxygen2025 初学 2025-8-28 15:51:35
直接开 tun 模式就行了
wweir 初学 2025-8-28 16:46:00
现在,是更推荐使用 HTTPS 方式拉取,而不是 SSH 的,这样的话,一行命令解决所有问题: git config --global http.https://github.com.proxy socks5h://127.0.0.1:1080
tayuo 初学 2025-8-28 16:49:26
一直是手动添加 ssh.github.com git remote add origin git@ssh.github.com:user/repo.git 目前来说很顺畅
wenrouxiaozhu 初学 2025-8-28 16:49:30
╰─ alias proxy  100%  proxy='export https_proxy=http://127.0.0.1:7890;export http_proxy=http://127.0.0.1:7890;export all_proxy=socks5://127.0.0.1:7890' 我是这样
123
返回顶部