Skip to main content
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.

Metadata

Release files for git-archive-all 1.23.1

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.23.1
File Size Uploaded
git-archive-all-1.23.1.tar.gz 12.8 kB Details

Built distribution (wheel)

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

Total release size: 23.4 kB

Release files / git-archive-all-1.23.1.tar.gz

Download URL git-archive-all-1.23.1.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a42fe0cedd2e0361250a4f3130f3d3543f640d4f1fe28530771df5972108729f
BLAKE2b-256 checksum
How to use checksums
996043a37db064499de57423efacf84d33f1cec4cce0ca1e1a37daca30ed2bb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

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

Download URL git_archive_all-1.23.1-py2.py3-none-any.whl
Size 10.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d9f9611f2df629de3df1d6f134955ced4c704cbc0e423d769a7c0e55a8484242
BLAKE2b-256 checksum
How to use checksums
625f699a1581fc97e96287f1d1bcbd9757940ff7bc7cc7b1badeff62b8433b48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.23.1 This release

2 release files

1.23.0

2 release files

1.21.0

2 release files

1.19.3

2 release files

1.19.2

2 release files

1.19.0

2 release files

1.18.3

2 release files

1.18.2

2 release files

1.18.0

2 release files

1.17.1

2 release files

1.17

2 release files

1.16.4

2 release files

1.15

2 release files

1.14

2 release files

1.13

1 release file

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