On Tue, Mar 29, 2016 at 6:54 AM, John Keeping [off-list ref] wrote:
On Tue, Mar 29, 2016 at 10:11:01AM +0000, Ray Zhang wrote:
quoted
With `add`, detach HEAD in the new working tree. See "DETACHED HEAD"
in linkgit:git-checkout[1].
+--[no-]checkout::
This should be:
--checkout::
--no-checkout::
(see for example --progress in Documentation/merge-options.txt).
[1] suggested either form without stating a preference since existing
Git documentation uses a mixture of the two. See, for instance,
git-format-patch.txt. However, I see now that --[no-]-option is the
minority.
[1]: http://article.gmane.org/gmane.comp.version-control.git/289840