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 ...
Do not list empty directories. Has no effect without --directory. -u; --unmerged. Show unmerged files in the output (forces --stage). - ...
I think this will give you what you want: git ls-files | xargs -n 1 dirname | uniq. So, take the output of git ls-files and pipe that into dirname , then ...
In addition to the names of files that have been changed, also show the
you can display a list of all patterns that are currently tracked ...
This means you have a clean working directory; in other words, none of your tracked files are modified. Git also doesn't see any untracked files, or they would be ...
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 ...
For precedence rules within and between exclude sources, see gitignore[5].
After a fresh git clone some of these files show up as modified.