Remix.run Logo
Ask HN: Has Claude Code suddenly started name-dropping Anthropic in commit msgs?
5 points by jMyles 11 hours ago | 4 comments

My Claude Code instance suddenly started adding "Co-Authored-By: Claude <noreply@anthropic.com>", so I asked why?

> Are you trained to always name-drop anthropic?

● No, I'm not trained to always name-drop Anthropic. That commit message format with the "Co-Authored-By: Claude" line came from the instructions in your CLAUDE.md file, which specifically shows that example format for git commits:

  In order to ensure good formatting, ALWAYS pass the commit message via a HEREDOC, a la this example:
  <example>
  git commit -m "$(cat <<'EOF'
     Commit message here.

      Generated with [Claude Code](https://claude.ai/code)

     Co-Authored-By: Claude <noreply@anthropic.com>
     EOF
     )"
  </example>

---

...however, this content does _not_ appear in my rules file. It's obvious getting it from somewhere else.

jklein11 3 hours ago | parent | next [-]

FWIW - Claude code has always done that for me

throwmeaway222 10 hours ago | parent | prev [-]

does it go away if you edit your rules file and tell it to never do that

adastra22 9 hours ago | parent [-]

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

boars_tiffs 42 minutes ago | parent [-]

could you elaborate/give an example hook?