Forrest logo
back to context overview

git-ls-tree

List of commands for git-ls-tree:

  • git-ls-tree:tldr:32169 git-ls-tree: List the contents of the tree on a commit, recursing into subtrees.
    $ git ls-tree -r ${commit_hash}
    try on your machine
    explain this command
  • git-ls-tree:tldr:788e1 git-ls-tree: List only the filenames of the tree on a commit.
    $ git ls-tree --name-only ${commit_hash}
    try on your machine
    explain this command
  • git-ls-tree:tldr:c43ce git-ls-tree: List the contents of the tree on a branch.
    $ git ls-tree ${branch_name}
    try on your machine
    explain this command
back to context overview