burnex
V2EX  ›  问与答

求教如何通过 python 和 github api clone 用户的某个 repo 到本地

  •  
  •   burnex · Dec 22, 2016 · 2004 views
    This topic created in 3469 days ago, the information mentioned may be changed or developed.
    谢谢!
    4 replies    2016-12-23 03:24:21 +08:00
    sonack
        1
    sonack  
       Dec 22, 2016
    要我就直接用 python 的 system 了。。。
    burnex
        2
    burnex  
    OP
       Dec 22, 2016
    @sonack 如果是私有 repo 呢
    hsyu53
        3
    hsyu53  
       Dec 22, 2016 via iPad
    貌似可以 from pip import GitHub
    shyling
        4
    shyling  
       Dec 23, 2016 via iPad
    用 git clone 呗。。私有配置好 ssh private key
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1063 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 23:01 · PVG 07:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.