Find unreferenced commits, trees, and blobs.
Section: Dangling Objects and Inspection
List dangling objects
bash
bash
git fsck --full --danglingLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Dangling Objects and Inspection
Find dropped stash commits
Locate dangling stash-like commits after accidental drop.
Recover after hard reset
Restore previous HEAD after disruptive operation when ORIG_HEAD is available.