Skip to main content
PyPI Homebrew
Supported Python implementations Supported Python versions
CI 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.

Metadata

Release files for git-archive-all 1.24.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-archive-all 1.24.0
File Size Uploaded Provenance Actions
git_archive_all-1.24.0.tar.gz 13.3 kB With provenance Details for git_archive_all-1.24.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for git-archive-all 1.24.0
File Interpreter ABI Platform Actions
git_archive_all-1.24.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for git_archive_all-1.24.0-py2.py3-none-any.whl

Total release size: 25.5 kB

Release files / git_archive_all-1.24.0.tar.gz

Download URL git_archive_all-1.24.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
26f977219871cbfac93be1b573b6ae80a1c245685dbd0b09cc09b4704b2fe0c5
BLAKE2b-256 checksum
How to use checksums
cbbc79644ec5adef1954cf9028193493edb800808a7fcc89c938fc0dc79a469b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / git_archive_all-1.24.0-py2.py3-none-any.whl

Download URL git_archive_all-1.24.0-py2.py3-none-any.whl
Size 12.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c7212ff853dd3bb155f201f8c20a673e44d98785ce740e65d4c80c0b3b522ab6
BLAKE2b-256 checksum
How to use checksums
113d9c229506d17174cf624707aca243e6f70a6191e8103d360242e50b55721e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for git-archive-all 1.24.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for git_archive_all-1.24.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page