1CG-ADMIN-LS(1) CG-ADMIN-LS(1)
2
3
4
6 cg-admin-ls - list contents of a particular tree in the repository
7
9 cg-admin-ls [-t TREE_ID] [PATH]
10
11
13 Optionally takes a commit or tree ID as a parameter, defaulting to
14 HEAD.
15
16
18 -t TREE_ID
19 List the content of the given TREE_ID.
20
21 -h, --help
22 Print usage summary.
23
24 --long-help
25 Print user manual. The same as found in cg-admin-ls(1).
26
28 Each line in the output has the following format:
29
30
31 <mode> <type> <sha1> <name>
32 where
33
34
35 <mode> The file permission information in octal format.
36
37 <type> The type can be the following: blob refers to files and tree
38 refers to directories.
39
40 <sha1> The object ID.
41
42 <name> The file or directory name. Example line:
43
44
45 100644 blob c7dacd0ea28994e3c754ca4eadb2e08c011ee3d3 README
46
48 Copyright © Petr Baudis, 2005
49
50
52 cg-admin-ls is part of cogito(7), a toolkit for managing git(7) trees.
53
54
55
56
57 12/11/2006 CG-ADMIN-LS(1)