git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* get commit ID from a tree object ID
@ 2018-03-17 12:17 Michal Novotny
  2018-03-17 13:01 ` Konstantin Khomoutov
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Novotny @ 2018-03-17 12:17 UTC (permalink / raw)
  To: git

Hello,

let's say I have made an annotated tag on a certain treeish:

$ git tag -a -m msg tagname HEAD:

Now, I can try to see the content of the tag:

$ git tag -v tagname
object 42a1c36553a50ceae2f75ffc4b1446c6c393eae7
type tree
tag tagname
tagger clime <clime@redhat.com> 1521288727 +0100

msg
error: no signature found


Can I use that object ID 42a1c36553a50ceae2f75ffc4b1446c6c393eae7 to
get back to a particular commit from which the tag was created? The
reason is that I would eventually like to checkout that commit.

Thank you
clime

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-26 22:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-17 12:17 get commit ID from a tree object ID Michal Novotny
2018-03-17 13:01 ` Konstantin Khomoutov
2018-03-17 16:18   ` Jeff King
2018-03-17 17:57     ` Junio C Hamano
2018-03-26 22:14       ` Stefan Beller
2018-03-26 22:21         ` Jonathan Nieder

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).