git list all files not tracked code example
Example 1: git see all tracked files
git ls-tree -r master --name-only
Example 2: git show files that are not tracked
$ git ls-files . --ignored --exclude-standard --others
git ls-tree -r master --name-only
$ git ls-files . --ignored --exclude-standard --others