aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-01-22 15:07:31 -0800
committerJunio C Hamano <gitster@pobox.com>2020-01-22 15:07:31 -0800
commit0f501545a3f2500c850dc80b9409964a18bd9453 (patch)
treec3dd901c32f0196c485c55b500cf745a11c2a638
parentMerge branch 'es/unpack-trees-oob-fix' (diff)
parentdoc/gitcore-tutorial: fix prose to match example command (diff)
downloadgit-0f501545a3f2500c850dc80b9409964a18bd9453.tar.xz
git-0f501545a3f2500c850dc80b9409964a18bd9453.zip
Merge branch 'hw/tutorial-favor-switch-over-checkout'
Complete an update to tutorial that encourages "git switch" over "git checkout" that was done only half-way. * hw/tutorial-favor-switch-over-checkout: doc/gitcore-tutorial: fix prose to match example command
-rw-r--r--Documentation/gitcore-tutorial.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt
index f880d21dfb5..c0b95256cc8 100644
--- a/Documentation/gitcore-tutorial.txt
+++ b/Documentation/gitcore-tutorial.txt
@@ -751,7 +751,7 @@ to it.
================================================
If you make the decision to start your new branch at some
other point in the history than the current `HEAD`, you can do so by
-just telling 'git checkout' what the base of the checkout would be.
+just telling 'git switch' what the base of the checkout would be.
In other words, if you have an earlier tag or branch, you'd just do
------------