git check-attr

For every pathname, list if each attribute is unspecified, set, or unset as a gitattribute on that pathname. More information: https://git-scm.com/docs/git-check-attr.

git check-attr --all {{path/to/file}}

git check-attr {{attribute}} {{path/to/file}}

git check-attr --all {{path/to/file1 path/to/file2 ...}}

git check-attr {{attribute}} {{path/to/file1 path/to/file2 ...}}