git fsck

git-fsck

Name

git-fsck - Verifies the connectivity and validity of the objects in the database

Synopsis

git fsck [--tags] [--root] [--unreachable] [--cache] [--no-reflogs]
         [--[no-]full] [--strict] [--verbose] [--lost-found]
         [--[no-]dangling] [--[no-]progress] [--connectivity-only]
         [--[no-]name-objects] [<object>*]

Description

Verifies the connectivity and validity of the objects in the database.

Options

<object>

An object to treat as the head of an unreachability trace.

If no objects are given, git fsck defaults to using t