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 objectssgit check upload-objects: Upload specific local objects to the server (recovery tool — run on the vault that HAS the objects)sgit check verify: Verify the ECDSA signature on every commit reachable from HEAD
sgit check fsck
Verify vault integrity and repair missing objects
sgit check fsck [options] [directory]
| Argument | What it is | |
|---|---|---|
directory | optional | Vault directory (default: .) |
| Option | What it does |
|---|---|
--repair | Download missing objects from remote |
--verbose | Show 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>
| Argument | What it is | |
|---|---|---|
directory | optional | Vault directory (default: .) |
object_ids | required | Object IDs to upload (obj-cas-imm-...) |
sgit check verify
Verify the ECDSA signature on every commit reachable from HEAD
sgit check verify [options] [directory]
| Argument | What it is | |
|---|---|---|
directory | optional | Vault directory (default: .) |
| Option | What it does |
|---|---|
--limit | Stop after N commits (0 = all) |
--verbose | List every commit with its status |
This page as markdown · its source, admin/content/reference/sgit-cli-reference.json