summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeba Waly <heba.waly@gmail.com>2020-01-08 00:31:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-01-08 16:56:40 (GMT)
commit1a7e454dd6616160172b276c10421d770a01dd22 (patch)
tree318a653cf22b2b249d98e030e38926644a5e2429
parent53a06cf39b756eddfe4a2a34da93e3d04eb7b728 (diff)
downloadgit-1a7e454dd6616160172b276c10421d770a01dd22.zip
git-1a7e454dd6616160172b276c10421d770a01dd22.tar.gz
git-1a7e454dd6616160172b276c10421d770a01dd22.tar.bz2
doc/gitcore-tutorial: fix prose to match example command
In 328c6cb853 (doc: promote "git switch", 2019-03-29), an example was changed to use "git switch" rather than "git checkout" but an instance of "git checkout" in the explanatory text preceding the example was overlooked. Fix this oversight. Signed-off-by: Heba Waly <heba.waly@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-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
------------