diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-29 14:32:56 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-29 14:32:56 -0700 |
commit | 5773c9f2b28c3af92b7e9c6832536e99ab11cc78 (patch) | |
tree | b53f05d77b2fe537e27c06205764dcf8bee70301 /Documentation/git.txt | |
parent | 52e4478dbd3425332ed4ef6a4cadeb034ee8c4b6 (diff) | |
download | git-5773c9f2b28c3af92b7e9c6832536e99ab11cc78.tar.gz |
Documentation updates.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r-- | Documentation/git.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 6c80e27274..59d0dc8760 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -430,6 +430,37 @@ gitlink:gitk[1]:: gitk. +Configuration Mechanism +----------------------- + +Starting from 0.99.9 (actually mid 0.99.8.GIT), .git/config file +is used to hold per-repository configuration options. It is a +simple text file modelled after `.ini` format familiar to some +people. Here is an example: + +------------ +# +# This is the config file, and +# a '#' or ';' character indicates +# a comment +# + +; core variables +[core] + ; Don't trust file modes + filemode = false + +; user identity +[user] + name = "Junio C Hamano" + email = "junkio@twinsun.com" + +------------ + +Various commands read from the configuration file and adjust +their operation accordingly. + + Identifier Terminology ---------------------- <object>:: |