Skip to content
capcom docs

capcom lock release

Release the lock you hold; releasing a free lock does nothing

Free the Tree lock you hold; –token, the Lock token acquire printed, is required. Releasing a lock that is already free succeeds and changes nothing, so it is safe on every exit path. It prints the worktree and released, or free when there was nothing to release. A lock another session holds fails locked, exit code 3; break frees a lock whose holder is gone.

capcom lock release [flags]
capcom lock release --token <token>
capcom lock release --token <token> --kv # KEY=VALUE lines ending in STATUS=
-h, --help help for release
--kv print KEY=VALUE lines ending in STATUS=
--token string the token acquire returned
--json print a versioned JSON envelope
  • capcom lock - Acquire, refresh, release and inspect this worktree’s Tree lock