git-checkout.txt: fix one syntax line

<branch> can be omitted in this syntax, and it's actually documented a few paragraphs down: You could omit <branch>, 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 <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Mar 29, 2019 at 17:38 UTC 37f80025cdc5c2fe98039d45678f8ca9c7e36b93
1 file changed +1 -1
Documentation/git-checkout.txt
+1 -1
@@ -23,7 +23,7 @@ or the specified tree. If no paths are given, 'git checkout' will
23 also update `HEAD` to set the specified branch as the current
24 branch.
25
26 -'git checkout' <branch>::
26 +'git checkout' [<branch>]::
27 To prepare for working on <branch>, switch to it by updating
28 the index and the files in the working tree, and by pointing
29 HEAD at the branch. Local modifications to the files in the