From: Nguyễn Thái Ngọc Duy Date: Fri, 29 Mar 2019 10:38:54 +0000 (+0700) Subject: git-checkout.txt: fix one syntax line X-Git-Tag: v2.23.0-rc0~29^2~45 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=37f80025cdc5c2fe98039d45678f8ca9c7e36b93;p=git.git git-checkout.txt: fix one syntax line can be omitted in this syntax, and it's actually documented a few paragraphs down: You could omit , in which case the command degenerates to "check out the current branch", which is a glorified no-op with rather expensive side-effects to show only the tracking information, if exists, for the current branch. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 99c8c0dc0f..28817cfa41 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -23,7 +23,7 @@ or the specified tree. If no paths are given, 'git checkout' will also update `HEAD` to set the specified branch as the current branch. -'git checkout' :: +'git checkout' []:: To prepare for working on , switch to it by updating the index and the files in the working tree, and by pointing HEAD at the branch. Local modifications to the files in the