Skip to content

Commit 8d1b9d2

Browse files
roylee17gitster
authored andcommitted
Documentation/git-archive.txt: Note attributes
Signed-off-by: Roy Lee <roylee17@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1d035f8 commit 8d1b9d2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/git-archive.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,18 @@ tar.umask::
8888
archiving user's umask will be used instead. See umask(2) for
8989
details.
9090

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+
91103
EXAMPLES
92104
--------
93105
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
110122
Put everything in the current head's Documentation/ directory
111123
into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
112124

125+
126+
SEE ALSO
127+
--------
128+
linkgit:gitattributes[5]
129+
113130
Author
114131
------
115132
Written by Franck Bui-Huu and Rene Scharfe.

0 commit comments

Comments
 (0)