Skip to main content

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)

Uploaded Source

Built Distribution

git_extract-0.1.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page