1GIT-VAR(1) Git Manual GIT-VAR(1)
2
3
4
6 git-var - Show a Git logical variable
7
9 git var ( -l | <variable> )
10
11
13 Prints a Git logical variable.
14
16 -l
17 Cause the logical variables to be listed. In addition, all the
18 variables of the Git configuration file .git/config are listed as
19 well. (However, the configuration variables listing functionality
20 is deprecated in favor of git config -l.)
21
23 $ git var GIT_AUTHOR_IDENT
24 Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
25
27 GIT_AUTHOR_IDENT
28 The author of a piece of code.
29
30 GIT_COMMITTER_IDENT
31 The person who put a piece of code into Git.
32
33 GIT_EDITOR
34 Text editor for use by Git commands. The value is meant to be
35 interpreted by the shell when it is used. Examples: ~/bin/vi,
36 $SOME_ENVIRONMENT_VARIABLE, "C:\Program Files\Vim\gvim.exe"
37 --nofork. The order of preference is the $GIT_EDITOR environment
38 variable, then core.editor configuration, then $VISUAL, then
39 $EDITOR, and then the default chosen at compile time, which is
40 usually vi.
41
42 GIT_PAGER
43 Text viewer for use by Git commands (e.g., less). The value is
44 meant to be interpreted by the shell. The order of preference is
45 the $GIT_PAGER environment variable, then core.pager configuration,
46 then $PAGER, and then the default chosen at compile time (usually
47 less).
48
50 git-commit-tree(1) git-tag(1) git-config(1)
51
53 Part of the git(1) suite
54
55
56
57Git 2.18.1 05/14/2019 GIT-VAR(1)