Git Environment Variables: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
If set, it overrides [[Git_config#Configure_the_Commit_Author|git config]] setting. | If set, it overrides [[Git_config#Configure_the_Commit_Author|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== | ==GIT_AUTHOR_EMAIL== | ||
If set, it overrides [[Git_config#Configure_the_Commit_Author|git config]] setting. | If set, it overrides [[Git_config#Configure_the_Commit_Author|git config]] setting. |
Revision as of 06:30, 25 November 2017
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.