Files
Holocron/plugins/git/.apm/hooks
Defame1297andClaude Opus 5.5 a988275347 fix(git): follow earlier branch changes in the push-to-main hook
Review found pushes refused after `gh pr checkout` or `git branch -m`, and pushes to main allowed
after `git switch main` or `cd <repo>`. The hook now follows literal branch and directory changes
and treats any other as unknown. Heredoc stripping is linear and handles several per line.

Refs: #178

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-04 22:19:49 +00:00
..