repoget.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:repoget 作者: merces 项目源码 文件源码
def clone_repository(user, repo, path):
   try:
      if user:
         Repo.clone_from('https://github.com/%s/%s.git' % (user, repo), path)
      else:
         # repo is the gist hash then
         Repo.clone_from('https://gist.github.com/%s.git' % repo, path)
   except:
      print 'Error cloning \'%s\'' % repo
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号