Skip to content
capcom docs

capcom lock status

Show this worktree’s lock, or with –all every worktree’s

Show this worktree’s Tree lock: free, or held or stale with its holder, purpose, since time and heartbeat. A lock record that does not parse shows as invalid, and one that cannot be read as unreadable, each with a warning naming the file; the command still exits 0. –all shows every held lock in the repository, one per worktree, or “no locks held”, with one warning per invalid or unreadable record. It only reads the lock, and it never prints a Lock token.

capcom lock status [flags]
capcom lock status # this worktree's lock
capcom lock status --all # every worktree's lock
--all show the locks of every worktree
-h, --help help for status
--kv print KEY=VALUE lines ending in STATUS=
--json print a versioned JSON envelope
  • capcom lock - Acquire, refresh, release and inspect this worktree’s Tree lock