7 git-cat-file - Provide content or type information for repository objects
12 'git-cat-file' (-t | <type>) <object>
16 Provides content or type of objects in the repository. The type
17 is required if '-t' is not being used to find the object type.
22 The sha1 identifier of the object.
25 Instead of the content, show the object type identified by
29 Typically this matches the real type of <object> but asking
30 for a type that can trivially dereferenced from the given
31 <object> is also permitted. An example is to ask for a
32 "tree" with <object> being a commit object that contains it,
33 or to ask for a "blob" with <object> being a tag object that
38 If '-t' is specified, one of the <type>.
40 Otherwise the raw (though uncompressed) contents of the <object> will
46 Written by Linus Torvalds <torvalds@osdl.org>
50 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
54 Part of the link:git.html[git] suite