CmdID

CmdID / Commands

git-ls-tree

List the contents of a tree object. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List the contents of the tree on a branch

git ls-tree branch_nameIdentify

List the contents of the tree on a commit, recursing into subtrees

git ls-tree -r commit_hashIdentify

List only the filenames of the tree on a commit

git ls-tree --name-only commit_hashIdentify

Print the filenames of the current branch head in a tree structure (Note: tree --fromfile is not supported on Windows)

git ls-tree -r --name-only HEAD | tree --fromfileIdentify

Trips 1 Sigma rule: informationalFile and Directory Discovery - Linux by Daniil Yugoslavskiy, oscd.community, CheraghiMilad