Browse Source

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
maint
Junio C Hamano 5 years ago
parent
commit
0f501545a3
  1. 2
      Documentation/gitcore-tutorial.txt

2
Documentation/gitcore-tutorial.txt

@ -751,7 +751,7 @@ to it. @@ -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

------------

Loading…
Cancel
Save