summaryrefslogtreecommitdiffstats
path: root/git-worktree.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-07-17 15:44:48 -0700
committerJunio C Hamano <gitster@pobox.com>2015-07-17 15:44:48 -0700
commit1e4fff28daeae0e6d79c94e3d64e7235ee443a44 (patch)
tree5c71d291be10e835bb502db6ecebf08218a72ee1 /git-worktree.html
parentc1da335d4e39657f5b5276a6a2410821c93a6c15 (diff)
downloadgit-htmldocs-1e4fff28daeae0e6d79c94e3d64e7235ee443a44.tar.gz
Autogenerated HTML docs for v2.5.0-rc2-34-gfbdea
Diffstat (limited to 'git-worktree.html')
-rw-r--r--git-worktree.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/git-worktree.html b/git-worktree.html
index 538cdc8be..6e592d0a1 100644
--- a/git-worktree.html
+++ b/git-worktree.html
@@ -759,7 +759,7 @@ git-worktree(1) Manual Page
<div class="sectionbody">
<div class="paragraph"><p>Manage multiple worktrees attached to the same repository.</p></div>
<div class="paragraph"><p>A git repository can support multiple working trees, allowing you to check
-out more than one branch at a time. With <code>git checkout --to</code> a new working
+out more than one branch at a time. With <code>git worktree add</code> a new working
tree is associated with the repository. This new working tree is called a
"linked working tree" as opposed to the "main working tree" prepared by "git
init" or "git clone". A repository has one main working tree (if it&#8217;s not a
@@ -893,7 +893,7 @@ Prune working tree information in $GIT_DIR/worktrees.
$GIT_DIR/worktrees directory. The private sub-directory&#8217;s name is usually
the base name of the linked working tree&#8217;s path, possibly appended with a
number to make it unique. For example, when <code>$GIT_DIR=/path/main/.git</code> the
-command <code>git checkout --to /path/other/test-next next</code> creates the linked
+command <code>git worktree add /path/other/test-next next</code> creates the linked
working tree in <code>/path/other/test-next</code> and also creates a
<code>$GIT_DIR/worktrees/test-next</code> directory (or <code>$GIT_DIR/worktrees/test-next1</code>
if <code>test-next</code> is already taken).</p></div>
@@ -951,8 +951,9 @@ $ git worktree prune</code></pre>
<div class="sect1">
<h2 id="_bugs">BUGS</h2>
<div class="sectionbody">
-<div class="paragraph"><p>Multiple checkout support for submodules is incomplete. It is NOT
-recommended to make multiple checkouts of a superproject.</p></div>
+<div class="paragraph"><p>Multiple checkout in general is still experimental, and the support
+for submodules is incomplete. It is NOT recommended to make multiple
+checkouts of a superproject.</p></div>
<div class="paragraph"><p>git-worktree could provide more automation for tasks currently
performed manually, such as:</p></div>
<div class="ulist"><ul>
@@ -991,7 +992,7 @@ performed manually, such as:</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-07-13 14:44:41 PDT
+Last updated 2015-07-17 15:44:24 PDT
</div>
</div>
</body>