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