]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-var.txt
Merge branch 'jc/merge-saner-messages'
[thirdparty/git.git] / Documentation / git-var.txt
CommitLineData
aed022ab 1git-var(1)
71931c19 2==========
aed022ab
EB
3
4NAME
5----
c3f0baac 6git-var - Show a git logical variable
aed022ab
EB
7
8
9SYNOPSIS
10--------
b1889c36 11'git var' [ -l | <variable> ]
aed022ab
EB
12
13DESCRIPTION
14-----------
15Prints a git logical variable.
16
df8baa42
JF
17OPTIONS
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
73bae1dc 23 is deprecated in favor of 'git config -l'.)
aed022ab
EB
24
25EXAMPLE
26--------
b1889c36 27 $ git var GIT_AUTHOR_IDENT
df8baa42 28 Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
aed022ab
EB
29
30
31VARIABLES
32----------
df8baa42 33GIT_AUTHOR_IDENT::
aed022ab
EB
34 The author of a piece of code.
35
df8baa42 36GIT_COMMITTER_IDENT::
aed022ab
EB
37 The person who put a piece of code into git.
38
39Diagnostics
40-----------
41You don't exist. Go away!::
42 The passwd(5) gecos field couldn't be read
43Your parents must have hated you!::
73bae1dc 44 The passwd(5) gecos field is longer than a giant static buffer.
aed022ab 45Your sysadmin must hate you!::
73bae1dc 46 The passwd(5) name field is longer than a giant static buffer.
aed022ab 47
56ae8df5 48SEE ALSO
aed022ab 49--------
5162e697
DM
50linkgit:git-commit-tree[1]
51linkgit:git-tag[1]
52linkgit:git-config[1]
aed022ab
EB
53
54Author
55------
56Written by Eric Biederman <ebiederm@xmission.com>
57
58Documentation
59--------------
60Documentation by Eric Biederman and the git-list <git@vger.kernel.org>.
61
62GIT
63---
9e1f0a85 64Part of the linkgit:git[1] suite