]>
Commit | Line | Data |
---|---|---|
b568a503 JB |
1 | git-check-attr(1) |
2 | ================= | |
3 | ||
4 | NAME | |
5 | ---- | |
6 | git-check-attr - Display gitattributes information. | |
7 | ||
8 | ||
9 | SYNOPSIS | |
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 | |
15 | DESCRIPTION | |
16 | ----------- | |
17 | For every pathname, this command will list if each attr is 'unspecified', | |
18 | 'set', or 'unset' as a gitattribute on that pathname. | |
19 | ||
20 | OPTIONS | |
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 |
35 | SEE ALSO |
36 | -------- | |
5162e697 | 37 | linkgit:gitattributes[5]. |
0e545f75 JH |
38 | |
39 | ||
b568a503 JB |
40 | Author |
41 | ------ | |
59eb68aa | 42 | Written by Junio C Hamano <gitster@pobox.com> |
b568a503 JB |
43 | |
44 | Documentation | |
45 | -------------- | |
46 | Documentation by James Bowes. | |
47 | ||
48 | GIT | |
49 | --- | |
9e1f0a85 | 50 | Part of the linkgit:git[1] suite |