159 lines
3.2 KiB
HTML
159 lines
3.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GIT-VAR</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GIT-VAR</H1>
|
|
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
git-var - Show a Git logical variable
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<PRE>
|
|
<I>git var</I> ( -l | <variable> )
|
|
</PRE>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
Prints a Git logical variable.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
-l
|
|
<DL COMPACT><DT id="1"><DD>
|
|
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
|
|
<B>git config -l</B>.)
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
|
|
|
|
|
|
<PRE>
|
|
$ git var GIT_AUTHOR_IDENT
|
|
Eric W. Biederman <<A HREF="mailto:ebiederm@lnxi.com">ebiederm@lnxi.com</A>> 1121223278 -0600
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>VARIABLES</H2>
|
|
|
|
<P>
|
|
|
|
GIT_AUTHOR_IDENT
|
|
<DL COMPACT><DT id="3"><DD>
|
|
The author of a piece of code.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
GIT_COMMITTER_IDENT
|
|
<DL COMPACT><DT id="4"><DD>
|
|
The person who put a piece of code into Git.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
GIT_EDITOR
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Text editor for use by Git commands. The value is meant to be interpreted by the shell when it is used. Examples:
|
|
<B>~/bin/vi</B>,
|
|
<B>$SOME_ENVIRONMENT_VARIABLE</B>,
|
|
<B>"C:\Program Files\Vim\gvim.exe" --nofork</B>. The order of preference is the
|
|
<B>$GIT_EDITOR</B>
|
|
environment variable, then
|
|
<B>core.editor</B>
|
|
configuration, then
|
|
<B>$VISUAL</B>, then
|
|
<B>$EDITOR</B>, and then the default chosen at compile time, which is usually
|
|
<I>vi</I>. The build you are using chose
|
|
<I>editor</I>
|
|
as the default.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
GIT_PAGER
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Text viewer for use by Git commands (e.g.,
|
|
<I>less</I>). The value is meant to be interpreted by the shell. The order of preference is the
|
|
<B>$GIT_PAGER</B>
|
|
environment variable, then
|
|
<B>core.pager</B>
|
|
configuration, then
|
|
<B>$PAGER</B>, and then the default chosen at compile time (usually
|
|
<I>less</I>). The build you are using chose
|
|
<I>pager</I>
|
|
as the default.
|
|
</DL>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
<B><A HREF="/cgi-bin/man/man2html?1+git-commit-tree">git-commit-tree</A></B>(1) <B><A HREF="/cgi-bin/man/man2html?1+git-tag">git-tag</A></B>(1) <B><A HREF="/cgi-bin/man/man2html?1+git-config">git-config</A></B>(1)
|
|
<A NAME="lbAI"> </A>
|
|
<H2>GIT</H2>
|
|
|
|
<P>
|
|
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="10"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="11"><A HREF="#lbAF">EXAMPLES</A><DD>
|
|
<DT id="12"><A HREF="#lbAG">VARIABLES</A><DD>
|
|
<DT id="13"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="14"><A HREF="#lbAI">GIT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:15 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|