V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
flowfire
V2EX  ›  问与答

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

  •  
  •   flowfire · Jul 16, 2019 · 3484 views
    This topic created in 2487 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   ·   975 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 19:13 · PVG 03:13 · LAX 12:13 · JFK 15:13
    ♥ Do have faith in what you're doing.