From ecc03c1c6db0917c06415ec3c6e1510217e59805 Mon Sep 17 00:00:00 2001 From: Nanako Shiraishi Date: Thu, 18 Dec 2008 12:34:56 +0900 Subject: [PATCH] Clarify documentation of "git checkout paths" syntax The SYNOPSIS section of the manual writes: git checkout [options] [] [--] ... but the DESCRIPTION says that this form checks the paths out "from the index, or from a named commit." A later sentence refers to the same argument as " argument", but it is not clear that these two sentences are talking about the same command line argument for first-time readers. Signed-off-by: Nanako Shiraishi Signed-off-by: Junio C Hamano --- Documentation/git-checkout.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 168333a58..79824f481 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -27,7 +27,7 @@ the first namespace level. When are given, this command does *not* switch branches. It updates the named paths in the working tree from -the index file, or from a named commit. In +the index file, or from a named (most often a commit). In this case, the `-b` options is meaningless and giving either of them results in an error. argument can be used to specify a specific tree-ish (i.e. commit, tag or tree) -- 2.26.2