Extract files or directories from a git repository
Project description
git-extract
Extract files or directories from a git repository
Installation
$ pip install git-extract --upgrade
Usage
Extract files with multiple patterns:
$ git-extract file https://github.com/mfdeux/git-extract --pattern "*.md" --pattern "*.py" --dest ~/Downloads/test --recursive
Extract directory with pattern:
$ git-extract dir https://github.com/mfdeux/git-extract --pattern "tests" --dest ~/Downloads/test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git_extract-0.1.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for git_extract-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16fa0cd2ead4efbef89d13e9aa93381ce28ba6cacfff55e315575fab4076a3aa |
|
MD5 | 3d7c9636d70b41b5f579b993b0b5f13d |
|
BLAKE2b-256 | f3e95e8c5d2386ffe289203ad9cd0c8cb1bdfcad3d20c244e100a8397cdc6012 |