]>
Commit | Line | Data |
---|---|---|
2cf565c5 DG |
1 | git-ls-tree(1) |
2 | ============== | |
3 | v0.1, May 2005 | |
4 | ||
5 | NAME | |
6 | ---- | |
7 | git-ls-tree - Displays a tree object in human readable form | |
8 | ||
9 | ||
10 | SYNOPSIS | |
11 | -------- | |
6d3a5077 | 12 | 'git-ls-tree' [-r] [-z] <tree-ish> [paths...] |
2cf565c5 DG |
13 | |
14 | DESCRIPTION | |
15 | ----------- | |
16 | Converts the tree object to a human readable (and script processable) | |
17 | form. | |
18 | ||
19 | OPTIONS | |
20 | ------- | |
21 | <tree-ish>:: | |
22 | Id of a tree. | |
23 | ||
24 | -r:: | |
25 | recurse into sub-trees | |
26 | ||
27 | -z:: | |
28 | \0 line termination on output | |
29 | ||
6d3a5077 JM |
30 | paths:: |
31 | Optionally, restrict the output of git-ls-tree to specific | |
32 | paths. Directories will only list their tree blob ids. | |
33 | Implies -r. | |
34 | ||
2cf565c5 DG |
35 | Output Format |
36 | ------------- | |
37 | <mode>\t <type>\t <object>\t <file> | |
38 | ||
39 | ||
40 | Author | |
41 | ------ | |
42 | Written by Linus Torvalds <torvalds@osdl.org> | |
43 | ||
44 | Documentation | |
45 | -------------- | |
46 | Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. | |
47 | ||
48 | GIT | |
49 | --- | |
50 | Part of the link:git.html[git] suite | |
51 |