]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-format-patch.txt
doc: promote "git switch"
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:39:19 +0000 (17:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:57:00 +0000 (13:57 +0900)
commit328c6cb853d7237098569de9f94bc3d259846a08
tree2c60dadbceba1dca728bc74fd14100f4dc71178d
parentae36fe694180ad2646983d43c5bf12841ac2db47
doc: promote "git switch"

The new command "git switch" is added to avoid the confusion of
one-command-do-all "git checkout" for new users. They are also helpful
to avoid ambiguation context.

For these reasons, promote it everywhere possible. This includes
documentation, suggestions/advice from other commands...

The "Checking out files" progress line in unpack-trees.c is also updated
to "Updating files" to be neutral to both git-checkout and git-switch.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 files changed:
Documentation/git-branch.txt
Documentation/git-check-ref-format.txt
Documentation/git-format-patch.txt
Documentation/git-merge-base.txt
Documentation/git-rebase.txt
Documentation/git-remote.txt
Documentation/git-rerere.txt
Documentation/git-reset.txt
Documentation/git-stash.txt
Documentation/gitcore-tutorial.txt
Documentation/giteveryday.txt
Documentation/gittutorial.txt
Documentation/gitworkflows.txt
Documentation/revisions.txt
Documentation/user-manual.txt
advice.c
sha1-name.c
t/t2020-checkout-detach.sh
unpack-trees.c