summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-01-22 23:07:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-01-22 23:07:31 (GMT)
commit0f501545a3f2500c850dc80b9409964a18bd9453 (patch)
treec3dd901c32f0196c485c55b500cf745a11c2a638
parent36da2a86352cf9db5796dc3d81e8a5571cd5647b (diff)
parent1a7e454dd6616160172b276c10421d770a01dd22 (diff)
downloadgit-0f501545a3f2500c850dc80b9409964a18bd9453.zip
git-0f501545a3f2500c850dc80b9409964a18bd9453.tar.gz
git-0f501545a3f2500c850dc80b9409964a18bd9453.tar.bz2
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 f880d21..c0b9525 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
------------