diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-16 22:45:35 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-16 22:45:35 -0800 |
commit | 5ea5621f89f0fe7d9a13c862cc738eb3588b8ddd (patch) | |
tree | 80ff585188b2d4a1b4ec160781a39f9a66f4ef46 | |
parent | c1a4278ee3f99ca9db94bd032b047b3d19ac6e5f (diff) | |
download | git-5ea5621f89f0fe7d9a13c862cc738eb3588b8ddd.tar.gz git-5ea5621f89f0fe7d9a13c862cc738eb3588b8ddd.tar.xz |
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>
-rw-r--r-- | Documentation/config.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index faa17ba84..da7fde56b 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 |