Merge branch 'sg/reflog-past-root' into maint
[gitweb.git] / Documentation / git-push.txt
index 93c3527f0cf6f5bf43344f3cd4939497fd0fb5ef..927a0341cf5f8eac33cd4165ad035138241b92c1 100644 (file)
@@ -198,10 +198,11 @@ branch we have for it.
 +
 `--force-with-lease=<refname>:<expect>` 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 <expect> (which is allowed to be
+the same as the specified value `<expect>` (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).
+this form is used).  If `<expect>` is the empty string, then the named ref
+must not already exist.
 +
 Note that all forms other than `--force-with-lease=<refname>:<expect>`
 that specifies the expected current value of the ref explicitly are