V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
flowfire
V2EX  ›  问与答

如何在 proxifier 中设置 gitbash 走代理?

  •  
  •   flowfire · 2019-07-16 10:57:35 +08:00 · 2857 次点击
    这是一个创建于 1736 天前的主题,其中的信息可能已经有所发展或是发生改变。

    目的是让 gitbash 不论是 ssh 还是 http 协议,执行 git clone 命令时都走 proxifier

    3 条回复    2019-07-17 09:32:33 +08:00
    learningman
        1
    learningman  
       2019-07-16 23:08:38 +08:00
    git 似乎是尊重 http_proxy 变量的
    Kobayashi
        2
    Kobayashi  
       2019-07-17 05:50:44 +08:00 via Android
    Windows 下不清楚,但不建议针对某个 app 设定代理。应该直接从 domain、ip 下手。
    https://github.com/laggardkernel/proxifier-rules
    flowfire
        3
    flowfire  
    OP
       2019-07-17 09:32:33 +08:00
    @learningman #1 使用 ssh 的时候也会使用 http_proxy 吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5018 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.