Re: [PATCH] Documentation, git reset: fix typo.
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 19, 2013, 17:16 UTC
- Message-ID
- <20130719171659.GY14690@google.com>
- In-Reply-To
- <1374251184-24095-1-git-send-email-stefanbeller@googlemail.com>
Stefan Beller wrote:
Show 9 quoted lines
> --- a/Documentation/git-reset.txt > +++ b/Documentation/git-reset.txt > @@ -9,7 +9,7 @@ SYNOPSIS > -------- > [verse] > 'git reset' [-q] [<tree-ish>] [--] <paths>... > -'git reset' (--patch | -p) [<tree-sh>] [--] [<paths>...] > +'git reset' (--patch | -p) [<tree-ish>] [--] [<paths>...] > 'git reset' [--soft | --mixed | --hard | --merge | --keep] [-q] [<commit>]
Sure. Though these days it might make more sense to say
'git reset' [--soft | --mixed | --hard | --merge | --keep] <commit> [--] 'git reset' [<tree>] [--] <path>... 'git reset' (--patch | -p) [<tree>] [--] [<path>...]
since commands accept a commit or tag where a tree is expected pretty much universally.
Hope that helps, Jonathan