]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc/gitcore-tutorial: fix prose to match example command
authorHeba Waly <heba.waly@gmail.com>
Wed, 8 Jan 2020 00:31:36 +0000 (00:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Jan 2020 16:56:40 +0000 (08:56 -0800)
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>
Documentation/gitcore-tutorial.txt

index f880d21dfb520c4a7bed90ccd0f2cc9d3961ecf7..c0b95256cc8c8d640d284f77b23d63c8785601d1 100644 (file)
@@ -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
 
 ------------