summaryrefslogtreecommitdiff
path: root/Documentation/git-archive.txt
diff options
context:
space:
mode:
authorRoy Lee <roylee17@gmail.com>2009-03-03 16:49:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-04 04:16:49 (GMT)
commit8d1b9d23a04f43f45bd3b20616936fcdd3021446 (patch)
treef33805fea7e2ed0961d3e7987648edb13cde27d1 /Documentation/git-archive.txt
parent1d035f85649cbb0a4fcc3e341f7e854acf9cf3c1 (diff)
downloadgit-8d1b9d23a04f43f45bd3b20616936fcdd3021446.zip
git-8d1b9d23a04f43f45bd3b20616936fcdd3021446.tar.gz
git-8d1b9d23a04f43f45bd3b20616936fcdd3021446.tar.bz2
Documentation/git-archive.txt: Note attributes
Signed-off-by: Roy Lee <roylee17@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-archive.txt')
-rw-r--r--Documentation/git-archive.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 41cbf9c..5b3eb12 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -88,6 +88,18 @@ tar.umask::
archiving user's umask will be used instead. See umask(2) for
details.
+ATTRIBUTES
+----------
+
+export-ignore::
+ Files and directories with the attribute export-ignore won't be
+ added to archive files. See linkgit:gitattributes[5] for details.
+
+export-subst::
+ If the attribute export-subst is set for a file then git will
+ expand several placeholders when adding this file to an archive.
+ See linkgit:gitattributes[5] for details.
+
EXAMPLES
--------
git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
@@ -110,6 +122,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs
Put everything in the current head's Documentation/ directory
into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
+
+SEE ALSO
+--------
+linkgit:gitattributes[5]
+
Author
------
Written by Franck Bui-Huu and Rene Scharfe.