Archive git repository with its submodules.
Project description
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
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.23.1.tar.gz
(12.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a42fe0cedd2e0361250a4f3130f3d3543f640d4f1fe28530771df5972108729f
|
|
| MD5 |
24516a24a28afb39599a9ebfe0cd19c9
|
|
| BLAKE2b-256 |
996043a37db064499de57423efacf84d33f1cec4cce0ca1e1a37daca30ed2bb4
|
File details
Details for the file git_archive_all-1.23.1-py2.py3-none-any.whl.
File metadata
- Download URL: git_archive_all-1.23.1-py2.py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f9611f2df629de3df1d6f134955ced4c704cbc0e423d769a7c0e55a8484242
|
|
| MD5 |
323aac83ed00f0f058a6508773d63e15
|
|
| BLAKE2b-256 |
625f699a1581fc97e96287f1d1bcbd9757940ff7bc7cc7b1badeff62b8433b48
|