]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-tar-tree.txt
Documentation/git-format-patch.txt: Add --signoff, --check, and long option-names.
[thirdparty/git.git] / Documentation / git-tar-tree.txt
CommitLineData
2cf565c5
DG
1git-tar-tree(1)
2===============
2cf565c5
DG
3
4NAME
5----
6git-tar-tree - Creates a tar archive of the files in the named tree
7
8
9SYNOPSIS
10--------
11'git-tar-tree' <tree-ish> [ <base> ]
12
13DESCRIPTION
14-----------
15Creates a tar archive containing the tree structure for the named tree.
2c6e4771 16When <base> is specified it is added as a leading path to the files in the
2cf565c5
DG
17generated tar archive.
18
d3a15c49
RS
19git-tar-tree behaves differently when given a tree ID versus when given
20a commit ID or tag ID. In the first case the current time is used as
21modification time of each file in the archive. In the latter case the
22commit time as recorded in the referenced commit object is used instead.
23Additionally the commit ID is stored in a global extended pax header.
24It can be extracted using git-get-tar-commit-id.
25
2cf565c5
DG
26
27Author
28------
d3a15c49 29Written by Rene Scharfe.
2cf565c5
DG
30
31Documentation
32--------------
33Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
34
35GIT
36---
a7154e91 37Part of the gitlink:git[7] suite
2cf565c5 38