3 ms·
No, you need a commit hook or something to really stop this behavior.
by adastra22 1y ago
No, you need a commit hook or something to really stop this behavior.
- boars_tiffs 1y agocould you elaborate/give an example hook?
- adastra22 1y agoI’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).
- adocomplete 1y agoYou can actually just edit the "includeCoAuthoredBy" setting in Claude Code and set it to "false". https://docs.claude.com/en/docs/claude-code/settings#available-settings https://docs.claude.com/en/docs/claude-code/settings#availab...
- adastra22 1y agoThat is so much easier. Thank you.