try: git ls-files --error-unmatch
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.
When showing files in the index, print only those matched by an exclude pattern.
EDIT: if you want to check whether your file is tracked within Git LFS at a given tree, you can use: git cat-file -p $TREE_SHA1:.gitattributes | git ...
At the end of the cloning process Git will check out the default branch ( usually master )
To list all the files currently being tracked under the branch master using:
Here, only *.o files are defined in .gitignore, so Readme.md is not listed in the output of git check-ignore . If you want to see line of which .
If you have enabled VCS integration for your project, IntelliJ IDEA suggests
But I think this is only problem with the check-ignore command. Otherwise git seems to work fine across filesystem. I can track files in /var/foo fine.