diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-03-04 08:29:59 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-03-04 08:29:59 +0000 |
commit | a9eca4e3f2297e9aaa13de6e2097ae72beb02f11 (patch) | |
tree | 8ad610de319da525b0b97d6b5cdaeee44c6f94e8 /git-archive.txt | |
parent | 7924d5e05c8bd50ab7c2f8f1f41a8c5ec7c1edb8 (diff) | |
download | git-htmldocs-a9eca4e3f2297e9aaa13de6e2097ae72beb02f11.tar.gz |
Autogenerated HTML docs for v1.6.2
Diffstat (limited to 'git-archive.txt')
-rw-r--r-- | git-archive.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/git-archive.txt b/git-archive.txt index 41cbf9c08..5b3eb12c8 100644 --- a/git-archive.txt +++ b/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. |