| GITDIST(1) | General Commands Manual | GITDIST(1) |
gitdist — Create
archives for git tags
gitdist |
-o dir
[-as] [-t
tag] [-f
format] [repo ...] |
The gitdist utility creates archives of
files for git tags in the given repositories, outputting them in
dir. Archives are named using the repository directory
name and the tag name (minus any leading "v"), e.g.
"name-tag.tar.gz". Newly generated archives are printed to
stdout
If any repo arguments are specified
gitdist operates on those, otherwise it falls back
on the GIT_DIR environment variable or the current
working directory if it's undefined.
The following options are available:
The gitdist utility exits 0 on
success, and >0 if an error occurs.
Generate archives for every tag in the gitsrv repository:
$ gitdist -a -o /var/www/htdocs/dist
gitsrvJacob R. Edwards <jacob@jacobedwards.org>
| March 16, 2026 | jacob |