System Grab Bag

View all TLDR pages from common (or from all pages)

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.
  • Check the values of all attributes on a file:
    git check-attr --all {{path/to/file}}
  • Check the value of a specific attribute on a file:
    git check-attr {{attribute}} {{path/to/file}}
  • Check the value of a specific attribute on files:
    git check-attr --all {{path/to/file1}} {{path/to/file2}}
  • Check the value of a specific attribute on one or more files:
    git check-attr {{attribute}} {{path/to/file1}} {{path/to/file2}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.