I used sparse checkout
to clone subfolders and files from a repo, as the instructions in this question. Currently, I want to list the checked out files in my disk - not the full repo tree, only the existing files, is there any command can do this?
I know I can use git ls-tree
command to list the whole files in the repo, but that's not I want, I just need to list the existing files in my current repo.
Thanks in advance.