Reference
crab staging
Manage the staging area.
Synopsis
crab staging stats
crab staging clean [OPTIONS]Description
The Crab staging area (.crab/staging/) stores chunk data locally between
crab add and git push. The crab staging command provides subcommands
to inspect and clean this area.
For conceptual background, see Staging Area.
Subcommands
stats
Print staging area statistics (read-only, never blocks writers).
crab staging statsclean
Purge stale staging data.
crab staging clean
crab staging clean --force # break stale locks from dead processesOptions
| Option | Default | Description |
|---|---|---|
--force | false | Force-break a stale lock held by a dead process |
--json | false | Emit structured JSON output |
Related Commands
crab add— writes to the staging area.crab reset— unstage files.crab du— disk usage including staging.