Git Environment Variables: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=External=
* https://git-scm.com/book/gr/v2/Git-Internals-Environment-Variables
=Internal=
=Internal=



Revision as of 23:29, 6 December 2017

External

Internal

Variables

GIT_AUTHOR_NAME

If set, it overrides git config setting.

GIT_EDITOR

Precedences: GIT_EDITOR, 'core.editor' git configuration option, VISUAL, EDITOR and finally the "vi" command.

Default is "vi"

GIT_DIR

The name of the git repository directory. Default .git.

GIT_AUTHOR_EMAIL

If set, it overrides git config setting.