aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-02-14 12:48:14 +0100
committerJunio C Hamano <junkio@cox.net>2007-02-19 23:05:16 -0800
commit32043c9f8c60fc03b0b6a324c559d98094729323 (patch)
treeadd1d32a22e55a41cc20fbd562d8cb6f577770df /Documentation
parent437b1b20df4b356c9342dac8d38849f24ef44f27 (diff)
downloadgit-32043c9f8c60fc03b0b6a324c559d98094729323.tar.gz
git-32043c9f8c60fc03b0b6a324c559d98094729323.tar.xz
config: read system-wide defaults from /etc/gitconfig
The settings in /etc/gitconfig can be overridden in ~/.gitconfig, which in turn can be overridden in .git/config. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 38655350f..1dd90d804 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -5,7 +5,8 @@ The git configuration file contains a number of variables that affect
the git command's behavior. `.git/config` file for each repository
is used to store the information for that repository, and
`$HOME/.gitconfig` is used to store per user information to give
-fallback values for `.git/config` file.
+fallback values for `.git/config` file. The file `/etc/gitconfig`
+can be used to store system-wide defaults.
They can be used by both the git plumbing
and the porcelains. The variables are divided into sections, where