Skip to content

Commit 1a7e454

Browse files
HebaWalygitster
authored andcommitted
doc/gitcore-tutorial: fix prose to match example command
In 328c6cb (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53a06cf commit 1a7e454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/gitcore-tutorial.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ to it.
751751
================================================
752752
If you make the decision to start your new branch at some
753753
other point in the history than the current `HEAD`, you can do so by
754-
just telling 'git checkout' what the base of the checkout would be.
754+
just telling 'git switch' what the base of the checkout would be.
755755
In other words, if you have an earlier tag or branch, you'd just do
756756

757757
------------

0 commit comments

Comments
 (0)