Git list tracked files - how can I make git show a list of the files that are being tracked?
Using command-line git, how can I make git show a list of the files that are being tracked in the repository?
To list all the files currently git show tracked files being tracked under the branch master using:
git ls-tree -r master --name-only
This command will list the files that are being tracked currently.
If you want a list of files that ever existed use:
git log --pretty=format: --name-only --diff-filter=A | sort - | sed '/^$/d'This command will list all the files including deleted files.