6 git-var - Show a git logical variable
12 'git var' ( -l | <variable> )
16 Prints a git logical variable.
21 Cause the logical variables to be listed. In addition, all the
22 variables of the git configuration file .git/config are listed
23 as well. (However, the configuration variables listing functionality
24 is deprecated in favor of `git config -l`.)
28 $ git var GIT_AUTHOR_IDENT
29 Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
35 The author of a piece of code.
38 The person who put a piece of code into git.
41 Text editor for use by git commands. The value is meant to be
42 interpreted by the shell when it is used. Examples: `~/bin/vi`,
43 `$SOME_ENVIRONMENT_VARIABLE`, `"C:\Program Files\Vim\gvim.exe"
44 --nofork`. The order of preference is the `$GIT_EDITOR`
45 environment variable, then `core.editor` configuration, then
46 `$VISUAL`, then `$EDITOR`, and then finally 'vi'.
49 Text viewer for use by git commands (e.g., 'less'). The value
50 is meant to be interpreted by the shell. The order of preference
51 is the `$GIT_PAGER` environment variable, then `core.pager`
52 configuration, then `$PAGER`, and then finally 'less'.
56 You don't exist. Go away!::
57 The passwd(5) gecos field couldn't be read
58 Your parents must have hated you!::
59 The passwd(5) gecos field is longer than a giant static buffer.
60 Your sysadmin must hate you!::
61 The passwd(5) name field is longer than a giant static buffer.
65 linkgit:git-commit-tree[1]
71 Part of the linkgit:git[1] suite