Git Environment Variables: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Variables=
=Variables=


==GIT_AUTHOR_NAME==
==Generic==
 
===GIT_AUTHOR_NAME===


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==
===GIT_EDITOR===


Precedences: GIT_EDITOR, 'core.editor' git configuration option, VISUAL, EDITOR and finally the "vi" command.
Precedences: GIT_EDITOR, 'core.editor' git configuration option, VISUAL, EDITOR and finally the "vi" command.
Line 19: Line 21:
Default is "vi"
Default is "vi"


==GIT_DIR==
===GIT_DIR===


The name of the git repository directory. Default .git.
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.
==Networking==
===GIT_SSL_NO_VERIFY===
Tells Git not to verify SSL certificates, which is necessary if the repository uses a self-signed certificate. If present, overrides [[Git_config#http.sslVerify|git config http.sslVerify]].

Revision as of 23:32, 6 December 2017

External

Internal

Variables

Generic

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.

Networking

GIT_SSL_NO_VERIFY

Tells Git not to verify SSL certificates, which is necessary if the repository uses a self-signed certificate. If present, overrides git config http.sslVerify.