Skip to main content

Synopsis

Description

Removes Capy’s block from the post-checkout and post-merge hooks that the capy sync command installs. It also clears any leftover Capy block from pre-push (older Capy versions installed one; current versions don’t). If removing the block leaves a hook file empty — or with nothing but a shebang — Capy deletes the file. Otherwise the rest of your hook stays in place. keep.lock and .env are left untouched. Use this if you want to stop using Capy in a given repo, or if a hook is interfering with another tool you use.

Example

If no Capy hooks are present:
Last modified on August 11, 2026