Articles → Git → Ls-Tree In GITLs-Tree In GITIn this article, we will discuss about ls-tree in git.What Is Ls-Tree? ls-tree displays the list of contents of a tree object.Example git ls-tree headThis command will display the list of files in repository.Click to EnlargeRecursively Displaying The List Of Files And Folders To show the list of files and folders (and subfolders), you have to add –r in the command.Click to EnlargePosted By - Karan Gupta Posted On - Thursday, October 17, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
git ls-tree head
Query/Feedback