summaryrefslogtreecommitdiffstats
path: root/git-worktree.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-worktree.html')
-rw-r--r--git-worktree.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/git-worktree.html b/git-worktree.html
index 8f05cc8b6..8eb6c94b2 100644
--- a/git-worktree.html
+++ b/git-worktree.html
@@ -1145,7 +1145,8 @@ rules and how to access refs of one worktree from another.</p></div>
<div class="paragraph"><p>In general, all pseudo refs are per-worktree and all refs starting with
<code>refs/</code> are shared. Pseudo refs are ones like <code>HEAD</code> which are directly
under <code>$GIT_DIR</code> instead of inside <code>$GIT_DIR/refs</code>. There are exceptions,
-however: refs inside <code>refs/bisect</code> and <code>refs/worktree</code> are not shared.</p></div>
+however: refs inside <code>refs/bisect</code>, <code>refs/worktree</code> and <code>refs/rewritten</code> are
+not shared.</p></div>
<div class="paragraph"><p>Refs that are per-worktree can still be accessed from another worktree via
two special paths, <code>main-worktree</code> and <code>worktrees</code>. The former gives
access to per-worktree refs of the main worktree, while the latter to all
@@ -1228,8 +1229,8 @@ linked worktree <code>git rev-parse --git-path HEAD</code> returns
<code>/path/other/test-next/.git/HEAD</code> or <code>/path/main/.git/HEAD</code>) while <code>git
rev-parse --git-path refs/heads/master</code> uses
<code>$GIT_COMMON_DIR</code> and returns <code>/path/main/.git/refs/heads/master</code>,
-since refs are shared across all worktrees, except <code>refs/bisect</code> and
-<code>refs/worktree</code>.</p></div>
+since refs are shared across all worktrees, except <code>refs/bisect</code>,
+<code>refs/worktree</code> and <code>refs/rewritten</code>.</p></div>
<div class="paragraph"><p>See <a href="gitrepository-layout.html">gitrepository-layout(5)</a> for more information. The rule of
thumb is do not make any assumption about whether a path belongs to
<code>$GIT_DIR</code> or <code>$GIT_COMMON_DIR</code> when you need to directly access something
@@ -1398,7 +1399,7 @@ checkouts of a superproject.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2023-06-23 13:24:09 PDT
+ 2023-10-20 16:56:50 PDT
</div>
</div>
</body>