Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A python script wrapper for git-archive that archives a git superproject and its submodules, if it has any. Takes into account .gitattributes
Python Makefile
branch: master

Merge pull request #21 from Kentzo/feature-xz

Add support for the xz format. Refs #20.
latest commit af7f7c5584
@Kentzo authored
Failed to load latest commit information.
.gitignore init
Makefile BIN -> EXEC_FILES
README.markdown Update README.markdown
git-archive-all Add support for the xz format. Refs #20. Improve


Creates archive from the current state using git ls-files --cached --full-name --no-empty-directory. Supports for any level of submodules tree. Files from submodules are extracted using the same command.

License: MIT

Usage: git-archive-all [-v] [--prefix PREFIX] [--no-exclude] [--force-submodules] [--extra] [--dry-run] OUTPUT_FILE


--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.

Paid 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.

Something went wrong with that request. Please try again.