# Typo in git-reset man page.

3 messages from 2013-07-19 to 2013-07-19. Participants: Ibrahim M. Ghazal, Stefan Beller, Jonathan Nieder.
Thread: https://gitlist.dev/t/34496

## Ibrahim M. Ghazal, 2013-07-19 16:22

Subject: Typo in git-reset man page.
Message-ID: <CADfnUUKVDmuqt9s05ehrHVBVhtRFahna-r8=2_OpQW7ruUq+ig@mail.gmail.com>
URL: https://gitlist.dev/e/CADfnUUKVDmuqt9s05ehrHVBVhtRFahna-r8%3D2_OpQW7ruUq%2Big%40mail.gmail.com

```
On this line: https://git.kernel.org/cgit/git/git.git/tree/Documentation/git-reset.txt#n12

"tree-sh" should be "tree-ish".

```

## Stefan Beller, 2013-07-19 16:26

Subject: [PATCH] Documentation, git reset: fix typo.
Message-ID: <1374251184-24095-1-git-send-email-stefanbeller@googlemail.com>
URL: https://gitlist.dev/e/1374251184-24095-1-git-send-email-stefanbeller%40googlemail.com
In-Reply-To: <CADfnUUKVDmuqt9s05ehrHVBVhtRFahna-r8=2_OpQW7ruUq+ig@mail.gmail.com>

```
Reported-By: Ibrahim M. Ghazal <imgx64@gmail.com>
Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
---
 Documentation/git-reset.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index a404b47..f445cb3 100644
--- 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>]
 
 DESCRIPTION
-- 
1.8.3.3.754.g9c3c367.dirty

```

## Jonathan Nieder, 2013-07-19 17:16

Subject: Re: [PATCH] Documentation, git reset: fix typo.
Message-ID: <20130719171659.GY14690@google.com>
URL: https://gitlist.dev/e/20130719171659.GY14690%40google.com
In-Reply-To: <1374251184-24095-1-git-send-email-stefanbeller@googlemail.com>

```
Stefan Beller wrote:

> --- 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

```
