aboutsummaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorLiu Yubao <yubao.liu@gmail.com>2008-04-29 04:09:20 +0800
committerJunio C Hamano <gitster@pobox.com>2008-04-29 23:11:57 -0700
commit302cc11a32732a0a3f0a7875b1857098e1964929 (patch)
treec8068dba529db9587dcd64f96e87e8dffe01e99d /Documentation/config.txt
parent0104ca09e3abf48ab26fd0599c4b686fcff60ffc (diff)
downloadgit-302cc11a32732a0a3f0a7875b1857098e1964929.tar.gz
git-302cc11a32732a0a3f0a7875b1857098e1964929.tar.xz
Documentation on --git-dir and --work-tree
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 7a24f6e81..824e416e9 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -234,7 +234,13 @@ core.worktree::
used in combination with repositories found automatically in
a .git directory (i.e. $GIT_DIR is not set).
This can be overridden by the GIT_WORK_TREE environment
- variable and the '--work-tree' command line option.
+ variable and the '--work-tree' command line option. It can be
+ a absolute path or relative path to the directory specified by
+ --git-dir or GIT_DIR.
+ Note: If --git-dir or GIT_DIR are specified but none of
+ --work-tree, GIT_WORK_TREE and core.worktree is specified,
+ the current working directory is regarded as the top directory
+ of your working tree.
core.logAllRefUpdates::
Enable the reflog. Updates to a ref <ref> is logged to the file