GitHub 代理配置 发表于 2025-07-10 更新于 2025-07-12 分类于 computer 本文字数: 45 阅读时长 ≈ 1 分钟 在 ~/.gitconfig 中添加以下内容: [http "https://github.com"] proxy = socks5://127.0.0.1:7897 [https "https://github.com"] proxy = socks5://127.0.0.1:7897 其中 7897 为你的代理端口,请在代理软件中查询并替换。