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

想在 intellij idea 直接 clone 一个 github 的 repository

  •  
  •   yejianmail · Dec 8, 2019 · 1850 views
    This topic created in 2374 days ago, the information mentioned may be changed or developed.
    手里已有神器 v2xxx 的 windows 客户端,socks5 和 http 代理都设置了,始终无法克隆,比如我开 http 全局代理,idea 不开代理,无法克隆,比如我开 socks5,idea 设置 socks 代理无法克隆,然后我开 http 代理,idea 设置 http 代理,也无法克隆,感觉被打败了,是我哪里姿势不对么? idea 的克隆是调用的 git 还是 curl 来的,求姿势
    4 replies    2019-12-08 21:30:39 +08:00
    shylocks
        1
    shylocks  
       Dec 8, 2019   ❤️ 1
    idea 调用的是 git,要给 git 设置 proxy
    git config --global https.proxy http://127.0.0.1:1080
    git config --global https.proxy https://127.0.0.1:1080
    yejianmail
        2
    yejianmail  
    OP
       Dec 8, 2019 via Android
    另外,gitee 使用挺好的,无奈的是还有好多优秀项目都在 github
    yejianmail
        3
    yejianmail  
    OP
       Dec 8, 2019 via Android
    @shylocks 谢谢老司机先,我去试试
    YourLord
        4
    YourLord  
       Dec 8, 2019 via Android
    一楼这种方式是早些年,但是这种情况 v2 或者$$就要开 http 代理才能用,切来切去不够优雅。后来买了个 proxifier 直接把 http 转成 socks5 了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:18 · PVG 03:18 · LAX 12:18 · JFK 15:18
    ♥ Do have faith in what you're doing.