CLI command reference
Everyday operations, grouped by the work you want to do.
Identity
| B8GRID | PURPOSE |
|---|---|
| auth login | Sign in through the browser |
| auth status | Inspect the current session |
| auth logout | Revoke the session and clear local credentials |
Local source
| B8GRID | PURPOSE |
|---|---|
| sg clone <owner>/<repo> | Create a local workspace |
| sg status | Inspect local changes |
| sg diff | Review source differences |
| sg commit -m <message> | Record a local snapshot |
| sg hydrate <path> | Materialize selected paths |
Review
| B8GRID | PURPOSE |
|---|---|
| sg push | Publish the committed snapshot |
| sg change open | Open a proposal |
| sg change inspect <id> | Inspect an exact revision |
| sg change review <id> approve | Approve with revision and snapshot bindings |
| sg change land <id> | Request landing after review and checks |
Diagnostics
| B8GRID | PURPOSE |
|---|---|
| sg doctor | Check local authority and journal integrity |
| sg recover | Recover a retained workspace transaction |