mirror of https://github.com/CrimsonTome/tldr.git
git ls-tree: print the filenames of the current branch head in a tree structure (#10790)
parent
f8d6aa88dc
commit
b17e204669
|
@ -14,3 +14,7 @@
|
|||
- List only the filenames of the tree on a commit:
|
||||
|
||||
`git ls-tree --name-only {{commit_hash}}`
|
||||
|
||||
- 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 --fromfile`
|
||||
|
|
Loading…
Reference in New Issue