]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-archive.txt
Merge branch 'jk/rev-list-disk-usage'
[thirdparty/git.git] / Documentation / git-archive.txt
index cfa1e4ebe4860d4905c44c5428b541ce3967826b..9f8172828d70142de652bb90297e912a8e0805c7 100644 (file)
@@ -55,6 +55,12 @@ OPTIONS
 --output=<file>::
        Write the archive to <file> instead of stdout.
 
+--add-file=<file>::
+       Add a non-tracked file to the archive.  Can be repeated to add
+       multiple files.  The path of the file in the archive is built
+       by concatenating the value for `--prefix` (if any) and the
+       basename of <file>.
+
 --worktree-attributes::
        Look for attributes in .gitattributes files in the working tree
        as well (see <<ATTRIBUTES>>).