Git config: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
<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: | <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. | 1. '''file''' (<tt>.git/config</tt>). 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 | 2. '''global''' (<tt>~/.gitconfig</tt>). 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