summaryrefslogtreecommitdiffstats
path: root/git-worktree.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-26 19:21:51 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-26 19:21:51 -0700
commitbeca34013bc0864f462092d897371034e5e76810 (patch)
tree4caf7e3a0c5c71fda031f7dad119560744a714ae /git-worktree.html
parente25cc817fa321686ae71fda302e172bf9ca8f04a (diff)
downloadgit-htmldocs-beca34013bc0864f462092d897371034e5e76810.tar.gz
Autogenerated HTML docs for v2.13.0-rc1
Diffstat (limited to 'git-worktree.html')
-rw-r--r--git-worktree.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/git-worktree.html b/git-worktree.html
index 54c7f3f06..9871c06e0 100644
--- a/git-worktree.html
+++ b/git-worktree.html
@@ -748,7 +748,7 @@ git-worktree(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<pre class="content"><em>git worktree add</em> [-f] [--detach] [--checkout] [-b &lt;new-branch&gt;] &lt;path&gt; [&lt;branch&gt;]
+<pre class="content"><em>git worktree add</em> [-f] [--detach] [--checkout] [--lock] [-b &lt;new-branch&gt;] &lt;path&gt; [&lt;branch&gt;]
<em>git worktree list</em> [--porcelain]
<em>git worktree lock</em> [--reason &lt;string&gt;] &lt;worktree&gt;
<em>git worktree prune</em> [-n] [-v] [--expire &lt;expire&gt;]
@@ -896,6 +896,16 @@ Unlock a working tree, allowing it to be pruned, moved or deleted.
</p>
</dd>
<dt class="hdlist1">
+--lock
+</dt>
+<dd>
+<p>
+ Keep the working tree locked after creation. This is the
+ equivalent of <code>git worktree lock</code> after <code>git worktree add</code>,
+ but without race condition.
+</p>
+</dd>
+<dt class="hdlist1">
-n
</dt>
<dt class="hdlist1">
@@ -1098,7 +1108,7 @@ performed manually, such as:</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-02-24 11:00:28 PST
+Last updated 2017-04-26 19:19:22 PDT
</div>
</div>
</body>