GIT-FSCK(1) Git Manual GIT-FSCK(1) (NAME) git-fsck - (SYNOPSIS) git fsck [--tags] [--root] [--unreachable] [--cache] [--no-reflogs] [--[no-]full] [--strict] [--verbose] [--lost-found] [--[no-]dangling] [--[no-]progress] [--connectivity-only] [--[no-]name-objects] [--[no-]references] [...] (DESCRIPTION) . (OPTIONS) (head) . git fsck (index) SHA-1 refs (reflogs - --no-reflogs ) . --unreachable . --dangling, --no-dangling (). --no-dangling . --root . --tags . --cache (index) . --no-reflogs (commits) reflog . reflog . --full GIT_OBJECT_DIRECTORY ($GIT_DIR/objects) GIT_ALTERNATE_OBJECT_DIRECTORIES $GIT_DIR/objects/info/alternates $GIT_DIR/objects/pack . --no-full . --connectivity-only . blob ( blob ). commit tree ( ) . blob . . --no-dangling . --strict g+w . . --verbose ( ). --lost-found (dangling) .git/lost-found/commit/ .git/lost-found/other/ . blob . --name-objects SHA-1 git-rev-parse(1) HEAD@{1234567890}~25^2:src/. --progress, --no-progress --no-progress --verbose . --progress . --references, --no-references git refs verify . git-refs(1) . . (CONFIGURATION) git-config(1) . : fsck. fsck transfer.fsckObjects . . fsck. git-fsck(1) push receive.fsck. clone fetch fetch.fsck. . fsck.* receive.fsck.* fetch.fsck.* . color.ui core.editor receive.fsck. fetch.fsck. fsck. . fsck . fsck. fsck. fsck error warn ignore . fsck / "missingEmail: invalid author/committer line - missing email" fsck.missingEmail = ignore . fsck.skipList . fsck. fsck receive.fsck. fetch.fsck. . Fsck Messages git-fsck(1) . fsck.skipList ( SHA-1 ) . . (#) . SHA-1 . ( ) . : . fsck. receive.fsck.skipList fetch.fsck.skipList . color.ui core.editor receive.fsck.skipList fetch.fsck.skipList fsck.skipList . fsck . ( .) . . . . () . (DISCUSSION) git-fsck SHA-1 . ( ) --unreachable ( ) . ( rsync ). core.commitGraph true commit-graph git commit-graph verify . git-commit-graph(1) . (EXTRACTED DIAGNOSTICS) unreachable . . . missing . dangling . . hash mismatch . . FSCK (FSCK MESSAGES) git fsck . "(FATAL)" fsck. . badDate (ERROR) /. badDateOverflow (ERROR) /. badEmail (ERROR) () /. badFilemode (INFO) . badGpgsig (ERROR) (/) gpgsig . badHeadTarget (ERROR) HEAD (symref) . badHeaderContinuation (ERROR) ( gpgsig) . badName (ERROR) / . badObjectSha1 (ERROR) sha1 . badPackedRefEntry (ERROR) "packed-refs" . badPackedRefHeader (ERROR) "packed-refs" . badParentSha1 (ERROR) commit sha1 . badRefContent (ERROR) . badRefFiletype (ERROR) . badRefName (ERROR) . badRefOid (ERROR) (OID) . badReferentName (ERROR) . badReftableTableName (WARN) reftable . badTagName (INFO) . badTimezone (ERROR) / . badTree (ERROR) . badTreeSha1 (ERROR) . badType (ERROR) . duplicateEntries (ERROR) . emptyName (WARN) . emptyPackedRefsFile (INFO) "packed-refs" . git@vger.kernel.org[1] . "packed_refs" . extraHeaderEntry (IGNORE) tagger . fullPathname (WARN) "/" . gitattributesBlob (ERROR) blob .gitattributes . gitattributesLarge (ERROR) (blob) .gitattributes . gitattributesLineLength (ERROR) .gitattributes . gitattributesMissing (ERROR) .gitattributes . gitattributesSymlink (INFO) .gitattributes . gitignoreSymlink (INFO) .gitignore . gitmodulesBlob (ERROR) blob .gitmodules . gitmodulesLarge (ERROR) .gitmodules . gitmodulesMissing (ERROR) .gitmodules . gitmodulesName (ERROR) . gitmodulesParse (INFO) .gitmodules . gitmodulesPath (ERROR) .gitmodules . gitmodulesSymlink (ERROR) .gitmodules . gitmodulesUpdate (ERROR) . gitmodulesUrl (ERROR) URL . hasDot (WARN) . . hasDotdot (WARN) .. . hasDotgit (WARN) .git . largePathname (WARN) . fsck.largePathname ( "warn:10" ). . mailmapSymlink (INFO) .mailmap . missingAuthor (ERROR) . missingCommitter (ERROR) . missingEmail (ERROR) / . missingNameBeforeEmail (ERROR) / . missingObject (ERROR) object . missingSpaceBeforeDate (ERROR) / . missingSpaceBeforeEmail (ERROR) / . missingTag (ERROR) type . missingTagEntry (ERROR) tag . missingTaggerEntry (INFO) tagger . missingTree (ERROR) tree commit . missingType (ERROR) type . missingTypeEntry (ERROR) type . multipleAuthors (ERROR) (commit) . nulInCommit (WARN) NUL commit . nulInHeader (FATAL) NUL . nullSha1 (WARN) sha1 (null) . packedRefEntryNotTerminated (ERROR) "packed-refs" . packedRefUnsorted (ERROR) "packed-refs" . refMissingNewline (INFO) (loose ref) (LF) . . git@vger.kernel.org[1] . symlinkRef (INFO) symref . git@vger.kernel.org[1] symref . symrefTargetIsNotARef (INFO) "refs/" . git symbolic-ref symref "ref" . git@vger.kernel.org[1] . trailingRefContent (INFO) . . git@vger.kernel.org[1] . treeNotSorted (ERROR) . unknownType (ERROR) . unterminatedHeader (FATAL) . zeroPaddedDate (ERROR) / . zeroPaddedFilemode (WARN) . (ENVIRONMENT VARIABLES) GIT_OBJECT_DIRECTORY ( $GIT_DIR/objects) GIT_INDEX_FILE (index) GIT_ALTERNATE_OBJECT_DIRECTORIES ( ) (GIT) git(1) (NOTES) 1. git@vger.kernel.org mailto:git@vger.kernel.org Git 2.55.0 2026-06-29 GIT-FSCK(1)