summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-10 13:46:26 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-10 13:46:26 -0700
commitaf182946f079a91cbb0a29e282aa9c23db0f0456 (patch)
treec1ab2efc38807569439e941c3d95a27d0ddb5fd2 /git-push.html
parente548d1b2c1b0ecaf83038da7b3098aa3c9466c0c (diff)
downloadgit-htmldocs-af182946f079a91cbb0a29e282aa9c23db0f0456.tar.gz
Autogenerated HTML docs for v2.9.2-729-ga42d7
Diffstat (limited to 'git-push.html')
-rw-r--r--git-push.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/git-push.html b/git-push.html
index 5df944b9d..e22bfa8cf 100644
--- a/git-push.html
+++ b/git-push.html
@@ -1019,10 +1019,11 @@ requiring its current value to be the same as the remote-tracking
branch we have for it.</p></div>
<div class="paragraph"><p><code>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</code> will protect the named ref (alone),
if it is going to be updated, by requiring its current value to be
-the same as the specified value &lt;expect&gt; (which is allowed to be
+the same as the specified value <code>&lt;expect&gt;</code> (which is allowed to be
different from the remote-tracking branch we have for the refname,
or we do not even have to have such a remote-tracking branch when
-this form is used).</p></div>
+this form is used). If <code>&lt;expect&gt;</code> is the empty string, then the named ref
+must not already exist.</p></div>
<div class="paragraph"><p>Note that all forms other than <code>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</code>
that specifies the expected current value of the ref explicitly are
still experimental and their semantics may change as we gain experience
@@ -1789,7 +1790,7 @@ a <code>git gc</code> command on the origin repository.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-08-03 15:39:49 PDT
+Last updated 2016-08-10 13:26:51 PDT
</div>
</div>
</body>