From 22162dd66ff357ed21d5851f00f7faa03cbcc873 Mon Sep 17 00:00:00 2001 From: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Date: Mon, 26 May 2025 07:16:08 +0300 Subject: [PATCH] git-fsck: add examples (#16601) --- pages/common/git-fsck.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/git-fsck.md b/pages/common/git-fsck.md index f6a9725d26..78b7b80be8 100644 --- a/pages/common/git-fsck.md +++ b/pages/common/git-fsck.md @@ -16,3 +16,11 @@ - List all root nodes found: `git fsck --root` + +- Show all unreachable and dangling objects, ignore reflogs, and perform a full integrity check: + +`git fsck --dangling --no-reflogs --unreachable --full` + +- Check connectivity only (skip object integrity verification): + +`git fsck --connectivity-only`