If you want to list all the files currently being tracked under the branch master , you could use this command: git ls-tree -r master --name-only.
To list all the files currently being tracked under the branch master using: git ls- tree -r master --name-only. This command will list the files that ...
The output from this command is designed to be used as a commit template ...
to the directory in which you ran the git lfs track command.
Show other (i.e. untracked) files in the output
root directory and no other directories, then will remove all directories tracked by Git.
of files that you don't want Git to automatically add or even show you as being untracked.
Before running the actual command and removing untracked files and directories use the -n option that will perform a “dry run” and show you ...
from the standard input, one per line, instead of from the command-line.
If you want to list all files for a specific branch, e.g. master : git ls-tree -r master -- name-only. The -r option will let it recurse into subdirectories and print each file ...