Code

Documentation: improve description of GIT_EDITOR and preference order
[git.git] / Documentation / git.txt
index d5b7667c15ef45e371b3fd3c4ecdf513f8f7cc02..458cc076fcb80e4f89771bdcc3b200a1117ea158 100644 (file)
@@ -711,6 +711,12 @@ other
        a pager.  See also the `core.pager` option in
        linkgit:git-config[1].
 
+'GIT_EDITOR'::
+       This environment variable overrides `$EDITOR` and `$VISUAL`.
+       It is used by several git comands when, on interactive mode,
+       an editor is to be launched. See also linkgit:git-var[1]
+       and the `core.editor` option in linkgit:git-config[1].
+
 'GIT_SSH'::
        If this environment variable is set then 'git fetch'
        and 'git push' will use this command instead