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

GitHub Desktop 克隆失败如何解决

  •  
  •   hedongcun · 2019-11-30 20:56:32 +08:00 · 437 次点击
    这是一个创建于 1580 天前的主题,其中的信息可能已经有所发展或是发生改变。
    • 很久以前使用小飞机,在终端里输入下面代码可解决克隆到本地速度慢问题。
    • Mac 小飞机里的地址和端口是 127.0.0.1:1086
    git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
    git config --global https.https://github.com.proxy socks5://127.0.0.1:1086
    
    • 之后改为使用路由器了,今天打开 GitHub Desktop 发现不能克隆了,提示下图信息:

    • 请问 86U 路由器如何设置 Socks5 地址和端口,或者如何恢复到没输入上述代码前的状态?
    6 条回复    2019-11-30 21:21:19 +08:00
    EridanusSora
        1
    EridanusSora  
       2019-11-30 21:11:40 +08:00 via Android   ❤️ 1
    git config --global --unset
    lostberryzz
        2
    lostberryzz  
       2019-11-30 21:16:05 +08:00   ❤️ 1
    git config --global --unset http.https://github.com.proxy socks5://127.0.0.1:1086
    git config --global --unset https.https://github.com.proxy socks5://127.0.0.1:1086
    hedongcun
        3
    hedongcun  
    OP
       2019-11-30 21:16:43 +08:00
    @EridanusSora 还是不行。
    hedongcun
        4
    hedongcun  
    OP
       2019-11-30 21:17:45 +08:00
    @lostberryzz 2# 感谢,你的方法可行,解决了。
    tennc
        5
    tennc  
       2019-11-30 21:17:48 +08:00   ❤️ 1
    sstap
    hedongcun
        6
    hedongcun  
    OP
       2019-11-30 21:21:19 +08:00
    @tennc 感谢解答,已解决了哈
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2780 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:31 · PVG 20:31 · LAX 05:31 · JFK 08:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.