summaryrefslogtreecommitdiffstats
path: root/gitrepository-layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'gitrepository-layout.html')
-rw-r--r--gitrepository-layout.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/gitrepository-layout.html b/gitrepository-layout.html
index 1fe37233d..c387997d7 100644
--- a/gitrepository-layout.html
+++ b/gitrepository-layout.html
@@ -772,7 +772,9 @@ a <code>&lt;project&gt;.git</code> directory that is a <em>bare</em> repository
</ul></div>
<div class="paragraph"><p><strong>Note</strong>: Also you can have a plain text file <code>.git</code> at the root of
your working tree, containing <code>gitdir: &lt;path&gt;</code> to point at the real
-directory that has the repository. This mechanism is often used for
+directory that has the repository.
+This mechanism is called a <em>gitfile</em> and is usually managed via the
+<code>git submodule</code> and <code>git worktree</code> commands. It is often used for
a working tree of a submodule checkout, to allow you in the
containing superproject to <code>git checkout</code> a branch that does not
have the submodule. The <code>checkout</code> has to remove the entire
@@ -1372,7 +1374,7 @@ GIT_COMMON_DIR/worktrees/&lt;id&gt;/config.worktree)</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2020-03-10 15:02:33 PDT
+ 2023-12-20 13:32:13 PST
</div>
</div>
</body>