summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-16 22:45:35 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-16 22:45:35 -0800
commit5ea5621f89f0fe7d9a13c862cc738eb3588b8ddd (patch)
tree80ff585188b2d4a1b4ec160781a39f9a66f4ef46 /Documentation
parentc1a4278ee3f99ca9db94bd032b047b3d19ac6e5f (diff)
downloadgit-5ea5621f89f0fe7d9a13c862cc738eb3588b8ddd.tar.gz
Document where configuration files are in config.txt
Talking about what the files contain without talking about where they are does not help new users. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index faa17ba848..da7fde56b4 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -2,7 +2,12 @@ CONFIGURATION FILE
------------------
The git configuration file contains a number of variables that affect
-the git command's behavior. They can be used by both the git plumbing
+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.
+
+They can be used by both the git plumbing
and the porcelains. The variables are divided into sections, where
in the fully qualified variable name the variable itself is the last
dot-separated segment and the section name is everything before the last