Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A bash shell script wrapper for git-archive that archives a git superproject and its submodules, if it has any.
Shell
Branch: master

This branch is 3 commits ahead, 20 commits behind meitar:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
git-archive-all.sh

README.markdown

git-archive-all.sh

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

Usage

git-archive-all.sh --version

Prints the program version number on a line by itself and exits.

git-archive-all.sh --usage|--help|-?

Prints this usage output and exits.

git-archive-all.sh [--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.