CLI Command Reference

The complete GitSetu execution palette.

GitSetu exposes a highly targeted, heavily validated command palette designed exclusively to interact with Git and SSH state structures. All commands are strictly idempotent.


Provisioning & Setup

gitsetu setup

The primary interactive compilation wizard. Use this command to provision entirely new workspace profiles or seamlessly update existing configuration paths.

gitsetu auth <profile>

The secure Credential Broker interface. Use this command to securely bind HTTPS Personal Access Tokens (PATs) to specific identity contexts.


Diagnostics & Verification

gitsetu status

Renders a structured, tabular layout of your entire GitSetu configuration state.

gitsetu doctor

An advanced configuration health-scanner designed to identify silent environmental drift.

gitsetu verify

Executes aggressive permissions and structural validation testing.

gitsetu prompt

A specialized, ultra-fast context extractor designed strictly for sub-millisecond shell $PS1 or Starship rendering integrations.


Vault Operations

gitsetu backup

The comprehensive export utility.

gitsetu restore <file>

The bare-metal state re-construction tool.


System Operations

gitsetu update

Executes the native OTA (Over-The-Air) update sequence.

gitsetu install-guard / gitsetu remove-guard

Toggles the fail-closed Pre-Commit Identity interceptor bounds inside the global core.hooksPath configuration matrix.

gitsetu teardown

[Destructive Command] The ultimate uninstall and nuclear escape hatch.