Title: Theory / Important / CS / Softw / VCS / Git / ls
Tags: instruction_to_flag seen_description

Fla: ls-tree <tree-ish>
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git
Print: as `ls` on <tree-ish>

Fla: <path>...
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Print: restrict to elements of <tree-ish> matching a <path>

Fla: -d
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Print: Show only the named tree entry itself, not its children.

Fla: -r
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Print: Recurse into sub-trees.

Fla: -t
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Print: Show tree entries even when going to recurse them.

Fla: --long
Effect: Show object size of blob (file) entries.
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Flag abbreviation: -l

Fla: -z
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Print: \0 line termination on output and do not quote filenames. See OUTPUT FORMAT below for more information.

Fla: --name-only
--name-status
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>
Print: List only filenames (instead of the "long" output), one per line.

Fla: --object-only
Effect: List only names of the objects, one per line. Cannot be combined with --name-only or --name-status
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>

Fla: --abbrev=<n>
Effect: Instead of showing the full 40-byte hexadecimal object lines, show the shortest prefix that is at least <n> hexdigits long that uniquely refers the object.
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>

Fla: --full-name
Effect: Instead of showing the path names relative to the current working directory, show the full path names.
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>

Fla: --full-tree
Effect: Do not limit the listing to the current working directory.
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>

Fla: --format=<forma>
Effect: A string that interpolates %(fieldname) from the result being shown.
Page: https://git-scm.com/docs/git-ls-tree
Prefix: git ls <tree-ish>