of files which are not meant to be tracked. See
gitlink:gitignore[5].
+core.editor::
+ Commands such as `commit` and `tag` that lets you edit
+ messages by lauching an editor uses the value of this
+ variable when it is set, and the environment variable
+ `GIT_EDITOR` is not set. The order of preference is
+ `GIT_EDITOR` environment, `core.editor`, `EDITOR` and
+ `VISUAL` environment variables and then finally `vi`.
+
core.pager::
The command that git will use to paginate output. Can be overridden
with the `GIT_PAGER` environment variable.
object level, because re-coding to UTF-8 is not necessarily a\r
reversible operation.</p>\r
</div>\r
-<h2>ENVIRONMENT VARIABLES</h2>\r
+<h2>ENVIRONMENT AND CONFIGURATION VARIABLES</h2>\r
<div class="sectionbody">\r
-<p>The command specified by either the VISUAL or EDITOR environment\r
-variables is used to edit the commit log message.</p>\r
+<p>The editor used to edit the commit log message will be chosen from the\r
+GIT_EDITOR environment variable, the core.editor configuration variable, the\r
+VISUAL environment variable, or the EDITOR environment variable (in that\r
+order).</p>\r
</div>\r
<h2>HOOKS</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jul-2007 02:09:35 UTC\r
+Last updated 20-Jul-2007 10:27:37 UTC\r
</div>\r
</div>\r
</body>\r
include::i18n.txt[]
-ENVIRONMENT VARIABLES
----------------------
-The command specified by either the VISUAL or EDITOR environment
-variables is used to edit the commit log message.
+ENVIRONMENT AND CONFIGURATION VARIABLES
+---------------------------------------
+The editor used to edit the commit log message will be chosen from the
+GIT_EDITOR environment variable, the core.editor configuration variable, the
+VISUAL environment variable, or the EDITOR environment variable (in that
+order).
HOOKS
-----
</p>\r
</dd>\r
<dt>\r
+core.editor\r
+</dt>\r
+<dd>\r
+<p>\r
+ Commands such as <tt>commit</tt> and <tt>tag</tt> that lets you edit\r
+ messages by lauching an editor uses the value of this\r
+ variable when it is set, and the environment variable\r
+ <tt>GIT_EDITOR</tt> is not set. The order of preference is\r
+ <tt>GIT_EDITOR</tt> environment, <tt>core.editor</tt>, <tt>EDITOR</tt> and\r
+ <tt>VISUAL</tt> environment variables and then finally <tt>vi</tt>.\r
+</p>\r
+</dd>\r
+<dt>\r
core.pager\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jul-2007 02:09:35 UTC\r
+Last updated 20-Jul-2007 10:27:37 UTC\r
</div>\r
</div>\r
</body>\r
</dt>\r
<dd>\r
<p>\r
- Use $EDITOR to edit an introductory message for the\r
- patch series.\r
+ Use $GIT_EDITOR, core.editor, $VISUAL, or $EDITOR to edit an\r
+ introductory message for the patch series.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jul-2007 02:09:53 UTC\r
+Last updated 20-Jul-2007 10:27:38 UTC\r
</div>\r
</div>\r
</body>\r
value; if that is unspecified, default to --chain-reply-to.
--compose::
- Use $EDITOR to edit an introductory message for the
- patch series.
+ Use $GIT_EDITOR, core.editor, $VISUAL, or $EDITOR to edit an
+ introductory message for the patch series.
--from::
Specify the sender of the emails. This will default to
</dt>\r
<dd>\r
<p>\r
- This environment variable overrides <tt>$PAGER</tt>.\r
+ This environment variable overrides <tt>$PAGER</tt>. If it is set\r
+ to an empty string or to the value "cat", git will not launch\r
+ a pager.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jul-2007 02:10:01 UTC\r
+Last updated 20-Jul-2007 10:27:39 UTC\r
</div>\r
</div>\r
</body>\r
See gitlink:git-merge[1]
'GIT_PAGER'::
- This environment variable overrides `$PAGER`.
+ This environment variable overrides `$PAGER`. If it is set
+ to an empty string or to the value "cat", git will not launch
+ a pager.
'GIT_FLUSH'::
If this environment variable is set to "1", then commands such