Articles → Git → name-only attribute in gitname-only attribute in gitIn this article, we will discuss about name-only attribute in git.Purpose Adding this attribute only displays file name and hide rest of the details.Example git ls-tree --name-only headOutput Click to EnlargePosted By - Karan Gupta Posted On - Wednesday, October 16, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
git ls-tree --name-only head
Query/Feedback