Documentation/git-archive.txt: Note attributes
Signed-off-by: Roy Lee <roylee17@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Roy Lee committed
Mar 4, 2009 at 00:49 UTC
8d1b9d23a04f43f45bd3b20616936fcdd3021446
1 file changed
+17
Documentation/git-archive.txt
+17
@@ -88,6 +88,18 @@ tar.umask::
88
archiving user's umask will be used instead. See umask(2) for
89
details.
90
91
+ATTRIBUTES
92
+----------
93
+
94
+export-ignore::
95
+ Files and directories with the attribute export-ignore won't be
96
+ added to archive files. See linkgit:gitattributes[5] for details.
97
+
98
+export-subst::
99
+ If the attribute export-subst is set for a file then git will
100
+ expand several placeholders when adding this file to an archive.
101
+ See linkgit:gitattributes[5] for details.
102
+
103
EXAMPLES
104
--------
105
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
122
Put everything in the current head's Documentation/ directory
123
into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
124
125
+
126
+SEE ALSO
127
+--------
128
+linkgit:gitattributes[5]
129
+
130
Author
131
------
132
Written by Franck Bui-Huu and Rene Scharfe.