From: Junio C Hamano Date: Wed, 17 Jan 2007 06:45:35 +0000 (-0800) Subject: Document where configuration files are in config.txt X-Git-Tag: v1.5.0-rc2~67 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ea5621f89f0fe7d9a13c862cc738eb3588b8ddd;p=git.git 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 --- 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