Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/git-archive.txt: Note attributes
author
Roy Lee
<roylee17@gmail.com>
Tue, 3 Mar 2009 16:49:29 +0000
(
00:49
+0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Mar 2009 04:16:49 +0000
(20:16 -0800)
Signed-off-by: Roy Lee <roylee17@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-archive.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
1d035f8
)
diff --git
a/Documentation/git-archive.txt
b/Documentation/git-archive.txt
index 41cbf9c0819872a322321455b8a5cb805efcc26b..5b3eb12c8a1e8ac50f09745efd091882b248f1bc 100644
(file)
--- 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.
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 -)::
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/'.
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.
Author
------
Written by Franck Bui-Huu and Rene Scharfe.