]>
Commit | Line | Data |
---|---|---|
aed022ab | 1 | git-var(1) |
71931c19 | 2 | ========== |
aed022ab EB |
3 | |
4 | NAME | |
5 | ---- | |
c3f0baac | 6 | git-var - Show a git logical variable |
aed022ab EB |
7 | |
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
bd494fc7 | 11 | 'git-var' [ -l | <variable> ] |
aed022ab EB |
12 | |
13 | DESCRIPTION | |
14 | ----------- | |
15 | Prints a git logical variable. | |
16 | ||
df8baa42 JF |
17 | OPTIONS |
18 | ------- | |
19 | -l:: | |
4ee6bc99 PB |
20 | Cause the logical variables to be listed. In addition, all the |
21 | variables of the git configuration file .git/config are listed | |
e1cbc46d | 22 | as well. (However, the configuration variables listing functionality |
e0d10e1c | 23 | is deprecated in favor of `git-config -l`.) |
aed022ab EB |
24 | |
25 | EXAMPLE | |
26 | -------- | |
df8baa42 JF |
27 | $ git-var GIT_AUTHOR_IDENT |
28 | Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600 | |
aed022ab EB |
29 | |
30 | ||
31 | VARIABLES | |
32 | ---------- | |
df8baa42 | 33 | GIT_AUTHOR_IDENT:: |
aed022ab EB |
34 | The author of a piece of code. |
35 | ||
df8baa42 | 36 | GIT_COMMITTER_IDENT:: |
aed022ab EB |
37 | The person who put a piece of code into git. |
38 | ||
39 | Diagnostics | |
40 | ----------- | |
41 | You don't exist. Go away!:: | |
42 | The passwd(5) gecos field couldn't be read | |
43 | Your parents must have hated you!:: | |
44 | The password(5) gecos field is longer than a giant static buffer. | |
45 | Your sysadmin must hate you!:: | |
46 | The password(5) name field is longer than a giant static buffer. | |
47 | ||
48 | See Also | |
49 | -------- | |
a7154e91 SV |
50 | gitlink:git-commit-tree[1] |
51 | gitlink:git-tag[1] | |
e0d10e1c | 52 | gitlink:git-config[1] |
aed022ab EB |
53 | |
54 | Author | |
55 | ------ | |
56 | Written by Eric Biederman <ebiederm@xmission.com> | |
57 | ||
58 | Documentation | |
59 | -------------- | |
60 | Documentation by Eric Biederman and the git-list <git@vger.kernel.org>. | |
61 | ||
62 | GIT | |
63 | --- | |
a7154e91 | 64 | Part of the gitlink:git[7] suite |