3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7 .\" Source: Git 2.37.1.223.g6a475b71f8
10 .TH "GIT\-VAR" "1" "07/22/2022" "Git 2\&.37\&.1\&.223\&.g6a475b" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-var \- Show a Git logical variable
35 \fIgit var\fR ( \-l | <variable> )
40 Prints a Git logical variable\&.
45 Cause the logical variables to be listed\&. In addition, all the variables of the Git configuration file \&.git/config are listed as well\&. (However, the configuration variables listing functionality is deprecated in favor of
46 \fBgit config \-l\fR\&.)
54 $ git var GIT_AUTHOR_IDENT
55 Eric W\&. Biederman <ebiederm@lnxi\&.com> 1121223278 \-0600
64 The author of a piece of code\&.
69 The person who put a piece of code into Git\&.
74 Text editor for use by Git commands\&. The value is meant to be interpreted by the shell when it is used\&. Examples:
76 \fB$SOME_ENVIRONMENT_VARIABLE\fR,
77 \fB"C:\eProgram Files\eVim\egvim\&.exe" \-\-nofork\fR\&. The order of preference is the
79 environment variable, then
83 \fB$EDITOR\fR, and then the default chosen at compile time, which is usually
89 Text viewer for use by Git commands (e\&.g\&.,
90 \fIless\fR)\&. The value is meant to be interpreted by the shell\&. The order of preference is the
92 environment variable, then
95 \fB$PAGER\fR, and then the default chosen at compile time (usually
101 The name of the first branch created in newly initialized repositories\&.
105 \fBgit-commit-tree\fR(1) \fBgit-tag\fR(1) \fBgit-config\fR(1)
108 Part of the \fBgit\fR(1) suite