Skip to content
A bash shell script wrapper for git-archive that archives a git superproject and its submodules, if it has any.
Find file
Pull request Compare This branch is 3 commits ahead, 24 commits behind meitar:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Creates an archive for the entire git superproject, and its submodules

Usage --version

Prints the program version number on a line by itself and exits. --usage|--help|-?

Prints this usage output and exits. [--format <fmt>] [--prefix <path>] [--separate|-s] [output_file]

'--format' the archive is created with the named git archiver backend. Obviously, this must be a backend that git archive understands. The format defaults to 'tar' if not specified.

'--prefix' the archive's superproject and all submodules are created with the prefix named. The default is to not use one.

'--separate' or '-s' individual archives will be created for each of the superproject itself and its submodules. The default is to concatenate individual archives into one larger archive.

'output_file' the resulting archive is created as the file named. This parameter is essentially a path that must be writeable. When combined with '--separate' ('-s') this path must refer to a directory. Without this parameter or when combined with '--separate' the resulting archive(s) are named with a dot-separated path of the archived directory and a file extension equal to their format (e.g., 'superdir.submodule1dir.tar').

Something went wrong with that request. Please try again.