Skip to content

cat-file

  • Read git object
# Contents of the objects
git cat-file -p "hash"

# Size of the object
git cat-file -s "hash"

# Type of the object
git cat-file -t "hash"