diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-02-14 12:42:28 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-02-14 12:42:28 -0800 |
| commit | ad9c8954638759658453588075b0e18af914f566 (patch) | |
| tree | eeea0efb9bc7f71e356867a314d7e857b6eca368 | |
| parent | 5ae057d9a8c79fea1ad58658660d9fe42668e972 (diff) | |
| parent | 1a7e454dd6616160172b276c10421d770a01dd22 (diff) | |
| download | git-ad9c8954638759658453588075b0e18af914f566.tar.gz | |
Merge branch 'hw/tutorial-favor-switch-over-checkout' into maint
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.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index f880d21dfb..c0b95256cc 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 ------------ |
