flowfire
V2EX  ›  问与答

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

  •  
  •   flowfire · Jul 16, 2019 · 3559 views
    This topic created in 2519 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
        1
    learningman  
       Jul 16, 2019
    git 似乎是尊重 http_proxy 变量的
    Kobayashi
        2
    Kobayashi  
       Jul 17, 2019 via Android
    Windows 下不清楚,但不建议针对某个 app 设定代理。应该直接从 domain、ip 下手。
    https://github.com/laggardkernel/proxifier-rules
    flowfire
        3
    flowfire  
    OP
       Jul 17, 2019
    @learningman #1 使用 ssh 的时候也会使用 http_proxy 吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1195 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 23:29 · PVG 07:29 · LAX 16:29 · JFK 19:29
    ♥ Do have faith in what you're doing.