Rule Git & Version Control

No Force Push

Never force-push to shared branches

gitsafetycollaboration
CLAUDE.md

Never force-push to shared branches. Force-pushing rewrites history and can destroy teammates’ work. Use --force-with-lease if you must force-push to your own feature branch.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl