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