flowfire
V2EX  ›  问与答

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

  •  
  •   flowfire · Jul 16, 2019 · 3928 views
    This topic created in 2684 days ago, the information mentioned may be changed or developed.

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

    3 replies  •  2019-07-17 09:32:33 +08:00
    learningman
    learningman
    Jul 16, 2019
    1
    git 似乎是尊重 http_proxy 变量的
    Kobayashi
    Kobayashi
    Jul 17, 2019 via Android
    2
    Windows 下不清楚,但不建议针对某个 app 设定代理。应该直接从 domain、ip 下手。
    https://github.com/laggardkernel/proxifier-rules
    flowfire
    flowfire
    OP
    Jul 17, 2019
    3
    @learningman #1 使用 ssh 的时候也会使用 http_proxy 吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 19:34 · PVG 03:34 · LAX 11:34 · JFK 14:34
    ♥ Do have faith in what you're doing.