]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-checkout.txt
git-checkout.txt: fix one syntax line
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:38:54 +0000 (17:38 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:58 +0000 (13:56 +0900)
commit37f80025cdc5c2fe98039d45678f8ca9c7e36b93
tree7f354eb40a2fc96d07336d3c1d101ad1f68c886d
parentd333f672aec553e892a93d6dd1082c543f31d2e3
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>
Documentation/git-checkout.txt