summaryrefslogtreecommitdiffstats
path: root/git-check-ref-format.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-09 19:54:04 -0700
committerJunio C Hamano <gitster@pobox.com>2019-07-09 19:54:04 -0700
commitc9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db (patch)
tree06ddfc72dff8e370e395a3acc692c8ab48147227 /git-check-ref-format.html
parentd0a9940c76b71c9df840a098a423d3400779d83c (diff)
downloadgit-htmldocs-c9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db.tar.gz
Autogenerated HTML docs for v2.22.0-428-g6d5b2
Diffstat (limited to 'git-check-ref-format.html')
-rw-r--r--git-check-ref-format.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-check-ref-format.html b/git-check-ref-format.html
index 7e3907a50..be192b498 100644
--- a/git-check-ref-format.html
+++ b/git-check-ref-format.html
@@ -875,7 +875,8 @@ but it is explicitly forbidden at the beginning of a branch name).
When run with <code>--branch</code> option in a repository, the input is first
expanded for the &#8220;previous checkout syntax&#8221;
<code>@{-n}</code>. For example, <code>@{-1}</code> is a way to refer the last thing that
-was checked out using "git checkout" operation. This option should be
+was checked out using "git switch" or "git checkout" operation.
+This option should be
used by porcelains to accept this syntax anywhere a branch name is
expected, so they can act as if you typed the branch name. As an
exception note that, the &#8220;previous checkout operation&#8221; might result
@@ -962,7 +963,7 @@ Determine the reference name to use for a new branch:
<div id="footer">
<div id="footer-text">
Last updated
- 2018-01-26 15:11:04 PST
+ 2019-07-09 19:51:04 PDT
</div>
</div>
</body>