Thread (4 messages) flat view 4 messages, 2 authors, 2017-09-30

"man git-checkout", man page is inconsistent between SYNOPSIS and details

From: Robert P. J. Day <hidden>
Date: 2017-09-30 09:27:31

  just noticed that in "man git-checkout", the SYNOPSIS contains the
line:

  git checkout [-p|--patch] [<tree-ish>] [--] [<paths>...]

implying that <paths> is optional, but further down in the
DESCRIPTION, one reads:

  git checkout [-p|--patch] [<tree-ish>] [--] <pathspec>...

suggesting that <pathspec> is required.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help