JAEN

Git

git fsck

SafeCheck repo integrity

git fsck --lost-found

Detects corruption and dangling commits; --lost-found materializes recovery candidates.

Examples

  • git fsck --lost-foundSurface recoverable objects

Syntax

git fsck [--lost-found] [--full]

Before you run it

Inspection only.

Used when you see

Broke history with reset/rebase
3
If reflog lacks it, hunt dangling commits with fsck
See the whole flow →

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store