aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-29 14:32:56 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-29 14:32:56 -0700
commit5773c9f2b28c3af92b7e9c6832536e99ab11cc78 (patch)
treeb53f05d77b2fe537e27c06205764dcf8bee70301 /Documentation/git.txt
parent52e4478dbd3425332ed4ef6a4cadeb034ee8c4b6 (diff)
downloadgit-5773c9f2b28c3af92b7e9c6832536e99ab11cc78.tar.gz
git-5773c9f2b28c3af92b7e9c6832536e99ab11cc78.tar.xz
Documentation updates.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 6c80e2727..59d0dc876 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>::