aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-19 16:45:17 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-19 16:45:17 +0100
commit1f6dc84f68b4631e77ebc11a452cb0b03eecde57 (patch)
treeff8c7b094a1b9b9c0aa7836faab21b8a6b8f9a17 /README.md
parent3dc375cffbb4a8d09374e66002f5ee50be95ead2 (diff)
downloaddotfiles-1f6dc84f68b4631e77ebc11a452cb0b03eecde57.tar.gz
dotfiles-1f6dc84f68b4631e77ebc11a452cb0b03eecde57.tar.bz2
dotfiles-1f6dc84f68b4631e77ebc11a452cb0b03eecde57.zip
feat(git): commit-msg hook strips AI Co-authored-by trailers
Various agentic tools (Copilot CLI, VS Code chat, etc.) auto-append `Co-authored-by: Copilot <...>` / Claude / Codex trailers, which then trip the pre-push hook's agent-coauthor check and force a manual amend before the push goes through. Scrub at commit time instead. Uses the same agent-substring list as executable_pre-push (kept in sync by comment). Triggered as commit-msg (not pre-commit — pre-commit runs before the message exists). Drops matching trailers in-place, collapses trailing blanks, and is a no-op otherwise. Also symlinks the new hook in the remote-dev home-manager config so it deploys on the Ubuntu VM. Bypass: `git commit --no-verify`.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions