summaryrefslogtreecommitdiffstats
path: root/git-checkout.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-checkout.html')
-rw-r--r--git-checkout.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-checkout.html b/git-checkout.html
index 397de991f..2134d807f 100644
--- a/git-checkout.html
+++ b/git-checkout.html
@@ -1388,9 +1388,9 @@ before that happens. If we have not yet moved away from commit <code>f</code>,
any of these will create a reference to it:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code>$ git checkout -b foo <b>&lt;1&gt;</b>
-$ git branch foo <b>&lt;2&gt;</b>
-$ git tag foo <b>&lt;3&gt;</b></code></pre>
+<pre><code>$ git checkout -b foo # or "git switch -c foo" <b>&lt;1&gt;</b>
+$ git branch foo <b>&lt;2&gt;</b>
+$ git tag foo <b>&lt;3&gt;</b></code></pre>
</div></div>
<div class="colist arabic"><ol>
<li>
@@ -1633,7 +1633,7 @@ checkout.thresholdForParallelism
<div id="footer">
<div id="footer-text">
Last updated
- 2022-09-14 13:23:11 PDT
+ 2023-01-21 17:52:14 PST
</div>
</div>
</body>