Check the values of all attributes on a file

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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install git check-attr on any operating system with command-not-found.com