ccppccpp home

Profiles

Git safety

Shared history stays intact. No force-push to protected branches, no skipped hooks, and the user confirms history rewrites.

Set this profile

ccpp cpo profile set git-safety

Inside Claude Code, prefix the command with ! to run it in the session. Downloading a profile needs a Builder or Team plan; listing them does not.

Policies

3 policies, grouped by what they guard.

Git 3

Shared history stays intact; pushes and rewrites need a human.

  • git-history-rewrite

    The user confirms commands that discard work or rewrite history

  • git-no-verify

    Git hooks are never skipped (--no-verify)

  • git-protected-branches

    No force-push to, or deletion of, a protected branch