Remix.run Logo
adastra22 11 hours ago

No, you need a commit hook or something to really stop this behavior.

adocomplete 2 hours ago | parent | next [-]

You can actually just edit the "includeCoAuthoredBy" setting in Claude Code and set it to "false".

https://docs.claude.com/en/docs/claude-code/settings#availab...

adastra22 an hour ago | parent [-]

That is so much easier. Thank you.

boars_tiffs 3 hours ago | parent | prev [-]

could you elaborate/give an example hook?

adastra22 2 hours ago | parent [-]

I’m on mobile right now. But if a tool call fails, the stdout and stderr is fed back into Claude. Make a got pre-commit hook that looks for the Claude attribution string, and if present prints instructions to Claude to remove the attribution line, and exit (either error code 1 or 2 — check the anthropic docs).