author | Nanako Shiraishi <nanako3@lavabit.com> | |
Thu, 18 Dec 2008 03:34:56 +0000 (12:34 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 18 Dec 2008 06:00:54 +0000 (22:00 -0800) | ||
commit | ecc03c1c6db0917c06415ec3c6e1510217e59805 | |
tree | 50fc637252e1837ef488db5db37bfddc395fdfca | tree | snapshot |
parent | b4955fb611ce407ef0e522862c60ae0472dbfe5e | commit | diff |
Clarify documentation of "git checkout <tree-ish> paths" syntax
The SYNOPSIS section of the manual writes:
git checkout [options] [<tree-ish>] [--] <paths>...
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 "<tree-ish> 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 <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The SYNOPSIS section of the manual writes:
git checkout [options] [<tree-ish>] [--] <paths>...
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 "<tree-ish> 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 <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt | diff | blob | history |