cli.sgit.ai / Command reference / sgit check

sgit check

Vault integrity checks.

Generated from sgit help all --format json, sgit-ai v0.23.0. 3 subcommands below. To change this page, change the command's register() in the CLI and regenerate.

sgit check

Subcommands

sgit check fsck

Verify vault integrity and repair missing objects

sgit check fsck [options] [directory]
ArgumentWhat it is
directoryoptionalVault directory (default: .)
OptionWhat it does
--repairDownload missing objects from remote
--verboseShow object type and referencing parent for each missing/corrupt object

sgit check upload-objects

Upload specific local objects to the server (recovery tool — run on the vault that HAS the objects)

sgit check upload-objects [directory] <object_ids>
ArgumentWhat it is
directoryoptionalVault directory (default: .)
object_idsrequiredObject IDs to upload (obj-cas-imm-...)

sgit check verify

Verify the ECDSA signature on every commit reachable from HEAD

sgit check verify [options] [directory]
ArgumentWhat it is
directoryoptionalVault directory (default: .)
OptionWhat it does
--limitStop after N commits (0 = all)
--verboseList every commit with its status

This page as markdown · its source, admin/content/reference/sgit-cli-reference.json