]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-check-attr.txt
git-check-attr(1): use 'verse' for multi-line synopsis sections
[thirdparty/git.git] / Documentation / git-check-attr.txt
CommitLineData
b568a503
JB
1git-check-attr(1)
2=================
3
4NAME
5----
6git-check-attr - Display gitattributes information.
7
8
9SYNOPSIS
10--------
e7108fcb 11[verse]
b1889c36 12'git check-attr' attr... [--] pathname...
e7108fcb 13'git check-attr' --stdin [-z] attr... < <list-of-paths>
b568a503
JB
14
15DESCRIPTION
16-----------
17For every pathname, this command will list if each attr is 'unspecified',
18'set', or 'unset' as a gitattribute on that pathname.
19
20OPTIONS
21-------
b4666852
DP
22--stdin::
23 Read file names from stdin instead of from the command-line.
24
25-z::
26 Only meaningful with `--stdin`; paths are separated with
27 NUL character instead of LF.
28
b568a503
JB
29\--::
30 Interpret all preceding arguments as attributes, and all following
31 arguments as path names. If not supplied, only the first argument will
32 be treated as an attribute.
33
34
0e545f75
JH
35SEE ALSO
36--------
5162e697 37linkgit:gitattributes[5].
0e545f75
JH
38
39
b568a503
JB
40Author
41------
59eb68aa 42Written by Junio C Hamano <gitster@pobox.com>
b568a503
JB
43
44Documentation
45--------------
46Documentation by James Bowes.
47
48GIT
49---
9e1f0a85 50Part of the linkgit:git[1] suite