diff options
Diffstat (limited to 'git-checkout.html')
-rw-r--r-- | git-checkout.html | 8 |
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><1></b>
-$ git branch foo <b><2></b>
-$ git tag foo <b><3></b></code></pre>
+<pre><code>$ git checkout -b foo # or "git switch -c foo" <b><1></b>
+$ git branch foo <b><2></b>
+$ git tag foo <b><3></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>
|