• 请不要在回答技术问题时复制粘贴 AI 生成的内容
badgate
V2EX  ›  程序员

git bash 上传资源的时候怎么设置代理啊?

  •  1
     
  •   badgate · Oct 15, 2019 · 1163 views
    This topic created in 2426 days ago, the information mentioned may be changed or developed.
    git config --local http.proxy 'socks5://127.0.0.1:1080'
    git config --local https.proxy 'socks5://127.0.0.1:1080'
    

    这样行吗

    Supplement 1  ·  Oct 15, 2019
    添加 config 文件,export, global set 貌似都不行。。
    billzhuang
        1
    billzhuang  
       Oct 15, 2019
    export http_proxy=socks5://127.0.0.1:1080
    expert https_proxy=socks5://127.0.0.1:1080
    badgate
        2
    badgate  
    OP
       Oct 15, 2019
    @billzhuang 和不设置代理没区别。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2917 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 14:25 · PVG 22:25 · LAX 07:25 · JFK 10:25
    ♥ Do have faith in what you're doing.