Browse Source

Merge branch 'cr/git-work-tree-sans-git-dir'

These days, "git --work-tree=there cmd" without specifying an
explicit --git-dir=here will do the usual discovery, but we had a
description of older behaviour in the documentation.

* cr/git-work-tree-sans-git-dir:
  git.txt: remove stale comment regarding GIT_WORK_TREE
maint
Junio C Hamano 12 years ago
parent
commit
b1bd929611
  1. 4
      Documentation/git.txt

4
Documentation/git.txt

@ -683,9 +683,7 @@ Git so take care if using Cogito etc. @@ -683,9 +683,7 @@ Git so take care if using Cogito etc.
The '--git-dir' command-line option also sets this value.

'GIT_WORK_TREE'::
Set the path to the working tree. The value will not be
used in combination with repositories found automatically in
a .git directory (i.e. $GIT_DIR is not set).
Set the path to the root of the working tree.
This can also be controlled by the '--work-tree' command line
option and the core.worktree configuration variable.


Loading…
Cancel
Save