Merge branch 'fix'
[git/git.git] / Documentation / git-var.txt
1 git-var(1)
2 ==========
3
4 NAME
5 ----
6 git-var - Print the git users identity
7
8
9 SYNOPSIS
10 --------
11 'git-var' [ -l | <variable> ]
12
13 DESCRIPTION
14 -----------
15 Prints a git logical variable.
16
17 OPTIONS
18 -------
19 -l::
20 Cause the logical variables to be listed. In addition, all the
21 variables of the git configuration file .git/config are listed
22 as well. (However, the configuration variables listing functionality
23 is deprecated in favor of `git-repo-config -l`.)
24
25 EXAMPLE
26 --------
27 $ git-var GIT_AUTHOR_IDENT
28 Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
29
30
31 VARIABLES
32 ----------
33 GIT_AUTHOR_IDENT::
34 The author of a piece of code.
35
36 GIT_COMMITTER_IDENT::
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 --------
50 gitlink:git-commit-tree[1]
51 gitlink:git-tag[1]
52 gitlink:git-repo-config[1]
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 ---
64 Part of the gitlink:git[7] suite
65