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