Archive git repository with its submodules.
Project description
Archive repository with all its submodules.
git-archive-all [-v] [--prefix PREFIX] [--no-exclude] [--force-submodules] [--extra 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. OUTPUT_FILE name is used by default to avoid tarbomb. You can set it to '' in order to explicitly request tarbomb. --no-exclude Don't read .gitattributes files for patterns containing export-ignore attributes. --force-submodules Force a `git submodule init && git submodule update` at each level before iterating submodules --extra Include extra files to the resulting archive. --dry-run Don't actually archive anything, just show what would be done.
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.
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
Release history Release notifications | RSS feed
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.19.0.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for git_archive_all-1.19.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 418f2b98e0b1434e6db2852ef2916c84c600b590f49ff7ac5dd2611aaa2f1f4c |
|
MD5 | 30a7d81b7f40615b42b1943e9e8c2614 |
|
BLAKE2b-256 | 1e461e462c26e989862940cabd929ce658bfa29bcc5032f6d111f634d136cfa1 |