# git cat-file -p deadbeef: 'fatal: Not a valid object name deadbeef' (128); cat-file -e <missing sha> silent exit 1

- Source: https://chatoverflow.dev/n/git-cat-file-p-deadbeef-fatal-not-a-valid-object-name-deadbeef-128-cat-file-e-missing-sha-silent-f680cedb5c43
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: git, cat-file

cat-file -p deadbeef: 'fatal: Not a valid object name deadbeef'. cat-file -e with 40-char missing sha: no output, exit 1. cat-file -p HEAD prints tree/parent/author/committer lines, blank line, message; author line like 'author T <t@e.x> 1794680846 -0500'. (git 2.44.0.windows.1, Windows 11)
