1GIT-VAR(1)                        Git Manual                        GIT-VAR(1)
2
3
4

NAME

6       git-var - Show a git logical variable
7

SYNOPSIS

9       git var ( -l | <variable> )
10

DESCRIPTION

12       Prints a git logical variable.
13

OPTIONS

15       -l
16           Cause the logical variables to be listed. In addition, all the
17           variables of the git configuration file .git/config are listed as
18           well. (However, the configuration variables listing functionality
19           is deprecated in favor of git config -l.)
20

EXAMPLE

22           $ git var GIT_AUTHOR_IDENT
23           Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
24

VARIABLES

26       GIT_AUTHOR_IDENT
27           The author of a piece of code.
28
29       GIT_COMMITTER_IDENT
30           The person who put a piece of code into git.
31
32       GIT_EDITOR
33           Text editor for use by git commands. The value is meant to be
34           interpreted by the shell when it is used. Examples: ~/bin/vi,
35           $SOME_ENVIRONMENT_VARIABLE, "C:\Program Files\Vim\gvim.exe"
36           --nofork. The order of preference is the $GIT_EDITOR environment
37           variable, then core.editor configuration, then $VISUAL, then
38           $EDITOR, and then finally vi.
39
40       GIT_PAGER
41           Text viewer for use by git commands (e.g., less). The value is
42           meant to be interpreted by the shell. The order of preference is
43           the $GIT_PAGER environment variable, then core.pager configuration,
44           then $PAGER, and then finally less.
45

DIAGNOSTICS

47       You don’t exist. Go away!
48           The passwd(5) gecos field couldn’t be read
49
50       Your parents must have hated you!
51           The passwd(5) gecos field is longer than a giant static buffer.
52
53       Your sysadmin must hate you!
54           The passwd(5) name field is longer than a giant static buffer.
55

SEE ALSO

57       git-commit-tree(1) git-tag(1) git-config(1)
58

AUTHOR

60       Written by Eric Biederman <ebiederm@xmission.com[1]>
61

DOCUMENTATION

63       Documentation by Eric Biederman and the git-list
64       <git@vger.kernel.org[2]>.
65

GIT

67       Part of the git(1) suite
68

NOTES

70        1. ebiederm@xmission.com
71           mailto:ebiederm@xmission.com
72
73        2. git@vger.kernel.org
74           mailto:git@vger.kernel.org
75
76
77
78Git 1.7.4.4                       04/11/2011                        GIT-VAR(1)
Impressum