blob: 813942368b31a9eccb1c06b67e1a4303d3b62ede [file] [log] [blame]
Eric W. Biedermanaed022a2005-07-14 18:55:09 -06001git-var(1)
Linus Torvalds71931c12005-07-15 14:57:09 -07002==========
Eric W. Biedermanaed022a2005-07-14 18:55:09 -06003
4NAME
5----
Junio C Hamanoc3f0baa2007-01-18 15:53:37 -08006git-var - Show a git logical variable
Eric W. Biedermanaed022a2005-07-14 18:55:09 -06007
8
9SYNOPSIS
10--------
Dmitry V. Levinbd494fc2006-03-06 03:00:48 +030011'git-var' [ -l | <variable> ]
Eric W. Biedermanaed022a2005-07-14 18:55:09 -060012
13DESCRIPTION
14-----------
15Prints a git logical variable.
16
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020017OPTIONS
18-------
19-l::
Petr Baudis4ee6bc92006-04-25 00:59:28 +020020 Cause the logical variables to be listed. In addition, all the
21 variables of the git configuration file .git/config are listed
Petr Baudise1cbc462006-04-25 00:59:30 +020022 as well. (However, the configuration variables listing functionality
Tom Princee0d10e12007-01-28 16:16:53 -080023 is deprecated in favor of `git-config -l`.)
Eric W. Biedermanaed022a2005-07-14 18:55:09 -060024
25EXAMPLE
26--------
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020027 $ git-var GIT_AUTHOR_IDENT
28 Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
Eric W. Biedermanaed022a2005-07-14 18:55:09 -060029
30
31VARIABLES
32----------
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020033GIT_AUTHOR_IDENT::
Eric W. Biedermanaed022a2005-07-14 18:55:09 -060034 The author of a piece of code.
35
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020036GIT_COMMITTER_IDENT::
Eric W. Biedermanaed022a2005-07-14 18:55:09 -060037 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!::
44 The password(5) gecos field is longer than a giant static buffer.
45Your sysadmin must hate you!::
46 The password(5) name field is longer than a giant static buffer.
47
48See Also
49--------
Sergey Vlasova7154e92005-09-19 14:10:51 +040050gitlink:git-commit-tree[1]
51gitlink:git-tag[1]
Tom Princee0d10e12007-01-28 16:16:53 -080052gitlink:git-config[1]
Eric W. Biedermanaed022a2005-07-14 18:55:09 -060053
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---
Sergey Vlasova7154e92005-09-19 14:10:51 +040064Part of the gitlink:git[7] suite