Skip to main content

Archive git repository with its submodules.

Project description

PyPI Homebrew
Supported Python implementations Supported Python versions
Travis Coverage

Archive a repository with all its submodules.

git-archive-all [-v] [-C BASE_REPO] [--prefix PREFIX] [--no-export-ignore] [--force-submodules] [--include EXTRA1 ...] [--dry-run] [-0 | ... | -9] OUTPUT_FILE

Options:

  --version             show program's version number and exit

  -h, --help            show this help message and exit

  -v, --verbose         enable verbose mode

  --prefix=PREFIX       prepend PREFIX to each filename in the archive;
                        defaults to OUTPUT_FILE name

  -C BASE_REPO          use BASE_REPO as the main git repository to archive;
                        defaults to the current directory when empty

  --no-export-ignore    ignore the [-]export-ignore attribute in .gitattributes

  --force-submodules    force `git submodule init && git submodule update` at
                        each level before iterating submodules

  --include=EXTRA       additional files to include in the archive

  --dry-run             show files to be archived without actually creating the archive

Questions & Answers

Q: How to exclude files?
A: Mark paths you want to exclude in the .gitattributes file with the export-ignore attribute. Read more on git-scm.com.
Q: What about non-unicode filenames?
A: All filenames that particular version of Python can represent and handle are supported. Extra [en|de]coding is done where appropriate.

Support

If functional you need is missing but you’re ready to pay for it, feel free to contact me. If not, create an issue anyway, I’ll take a look as soon as I can.

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-archive-all-1.23.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_archive_all-1.23.1-py2.py3-none-any.whl (10.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file git-archive-all-1.23.1.tar.gz.

File metadata

  • Download URL: git-archive-all-1.23.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for git-archive-all-1.23.1.tar.gz
Algorithm Hash digest
SHA256 a42fe0cedd2e0361250a4f3130f3d3543f640d4f1fe28530771df5972108729f
MD5 24516a24a28afb39599a9ebfe0cd19c9
BLAKE2b-256 996043a37db064499de57423efacf84d33f1cec4cce0ca1e1a37daca30ed2bb4

See more details on using hashes here.

File details

Details for the file git_archive_all-1.23.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for git_archive_all-1.23.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d9f9611f2df629de3df1d6f134955ced4c704cbc0e423d769a7c0e55a8484242
MD5 323aac83ed00f0f058a6508773d63e15
BLAKE2b-256 625f699a1581fc97e96287f1d1bcbd9757940ff7bc7cc7b1badeff62b8433b48

See more details on using hashes here.

Supported by

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