gaoce / subgit

Download a sub folder or file from a repository on github.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

subgit

Download a sub folder or file from a repository on github.com

Install

In command line,

$ python setup.py install

Usage

$ subgit -h
usage: subgit [-h] [--branch BRANCH] [--software {git,svn}] link path

Download a folder or file in a github repository

positional arguments:
  link                  Github link for svn
  path                  File or folder to download

optional arguments:
  -h, --help            show this help message and exit
  --branch BRANCH       Branch in the repository
  --software {git,svn}  Software to be used, either git (download single file
                        or folder) or svn (folder only)

Reference

Based on this and this question.

About

Download a sub folder or file from a repository on github.com

License:MIT License


Languages

Language:Python 100.0%