git-check-attr
For every pathname, list if each attribute is unspecified, set, or unset as a gitattribute on that pathname. tldr-pages
On several platforms
Several platforms
Check the values of all attributes on a file
git check-attr --all path/to/fileIdentifyCheck the value of a specific attribute on a file
git check-attr attribute path/to/fileIdentifyCheck the values of all attributes on specific files
git check-attr --all path/to/file1 path/to/file2 ...IdentifyCheck the value of a specific attribute on one or more files
git check-attr attribute path/to/file1 path/to/file2 ...Identify