Git config: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 3: Line 3:
* [[Git#Configuration|Git]]
* [[Git#Configuration|Git]]
* [[.gitignore]]
* [[.gitignore]]
=Overview=
<tt>git config</tt> is used to manipulate entries in Git's configuration files. There are three levels of configuration files, listed below from the highest precedence to the lowest:
1. '''file''' (.git/config). This file contains repository-specific configuration and has the highest precedence. Repository-specific configuration is manipulated when <tt>git config</tt> is gets the "--file" option. This is the default.
2. '''global''' (~/.gitconfig). This file contains user-specific configuration and it


=Organizatorium=
=Organizatorium=

Revision as of 06:16, 25 November 2017

Internal

Overview

git config is used to manipulate entries in Git's configuration files. There are three levels of configuration files, listed below from the highest precedence to the lowest:

1. file (.git/config). This file contains repository-specific configuration and has the highest precedence. Repository-specific configuration is manipulated when git config is gets the "--file" option. This is the default.

2. global (~/.gitconfig). This file contains user-specific configuration and it

Organizatorium

git config --global http.sslVerify true|false

Configuration Operations

List the Configuration