Skip to content

Commit 043d760

Browse files
tytsoJunio C Hamano
authored andcommitted
Add definition of <commit-ish> to the main git man page.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent c2d4eb7 commit 043d760

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/git.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,12 @@ Identifier Terminology
231231
operate on a <tree> object but automatically dereferences
232232
<commit> and <tag> objects that point at a <tree>.
233233

234+
<commit-ish>::
235+
Indicates a commit or tag object name. A
236+
command that takes a <commit-ish> argument ultimately wants to
237+
operate on a <commit> object but automatically dereferences
238+
<tag> objects that point at a <commit>.
239+
234240
<type>::
235241
Indicates that an object type is required.
236242
Currently one of: `blob`, `tree`, `commit`, or `tag`.

0 commit comments

Comments
 (0)