Command
git cat-file -t
Print the type of the named object, such as commit or tag. Read-only inspection.
Formal Syntax & Structure
git syntaxgit
git cat-file -t OBJECTWorking Example
Example Snippetgit
git cat-file -t v1.0.0Print the type of the named object, such as commit or tag. Read-only inspection.
git cat-file -t OBJECTgit cat-file -t v1.0.0