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
This commit is contained in:
@ -683,9 +683,7 @@ Git so take care if using Cogito etc.
|
|||||||
The '--git-dir' command-line option also sets this value.
|
The '--git-dir' command-line option also sets this value.
|
||||||
|
|
||||||
'GIT_WORK_TREE'::
|
'GIT_WORK_TREE'::
|
||||||
Set the path to the working tree. The value will not be
|
Set the path to the root of the working tree.
|
||||||
used in combination with repositories found automatically in
|
|
||||||
a .git directory (i.e. $GIT_DIR is not set).
|
|
||||||
This can also be controlled by the '--work-tree' command line
|
This can also be controlled by the '--work-tree' command line
|
||||||
option and the core.worktree configuration variable.
|
option and the core.worktree configuration variable.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user