git-checkout.txt: fix one syntax line
[gitweb.git] / Documentation / git-checkout.txt
index 99c8c0dc0f837ba744cf7e4c5af650bb160ba4bf..28817cfa419764261a41598189d4dbd42cfb665e 100644 (file)
@@ -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' <branch>::
+'git checkout' [<branch>]::
        To prepare for working on <branch>, 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