summaryrefslogtreecommitdiffstats
path: root/git-worktree.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-06-20 14:23:40 -0700
committerJunio C Hamano <gitster@pobox.com>2016-06-20 14:23:40 -0700
commitfedb1b428f68e8626c38f0aef57a8379e58f3241 (patch)
tree28b330ac176be350f9ff9aa58e991ffcf55ea513 /git-worktree.html
parent5f888330ed4fbff9586a3ec63b452dd622f5ea58 (diff)
downloadgit-htmldocs-fedb1b428f68e8626c38f0aef57a8379e58f3241.tar.gz
Autogenerated HTML docs for v2.9.0-36-gab7797
Diffstat (limited to 'git-worktree.html')
-rw-r--r--git-worktree.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-worktree.html b/git-worktree.html
index 2b03a852c..99df5537f 100644
--- a/git-worktree.html
+++ b/git-worktree.html
@@ -792,7 +792,8 @@ add &lt;path&gt; [&lt;branch&gt;]
<p>
Create <code>&lt;path&gt;</code> and checkout <code>&lt;branch&gt;</code> into it. The new working directory
is linked to the current repository, sharing everything except working
-directory specific files such as HEAD, index, etc.
+directory specific files such as HEAD, index, etc. <code>-</code> may also be
+specified as <code>&lt;branch&gt;</code>; it is synonymous with <code>@{-1}</code>.
</p>
<div class="paragraph"><p>If <code>&lt;branch&gt;</code> is omitted and neither <code>-b</code> nor <code>-B</code> nor <code>--detached</code> used,
then, as a convenience, a new branch based at HEAD is created automatically,
@@ -1060,7 +1061,7 @@ performed manually, such as:</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-04-13 15:01:05 PDT
+Last updated 2016-06-20 14:23:22 PDT
</div>
</div>
</body>