about summary refs log tree commit diff
path: root/third_party/git/Documentation/git-archive.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/Documentation/git-archive.txt')
-rw-r--r--third_party/git/Documentation/git-archive.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/git/Documentation/git-archive.txt b/third_party/git/Documentation/git-archive.txt
index cfa1e4ebe486..9f8172828d70 100644
--- a/third_party/git/Documentation/git-archive.txt
+++ b/third_party/git/Documentation/git-archive.txt
@@ -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>>).