For the affected commits, I manually staged my changes and committed through Cursor’s Source Control panel . I wrote the commit messages myself, did not use the AI commit-message generator, and did not ask Agent to run the commit or push. I had also disabled commit attribution, but the trailer still appeared on multiple commits.
Hi @Mike10, the Source Control panel itself never adds that line. Cursor only appends the Co-authored-by: Cursor trailer when an agent runs git commit, so a hand-made commit normally can’t get it directly.
When it does show up on a commit you made yourself, it has usually come along from an earlier agent commit on the same branch. Amending a commit, squashing or rebasing, cherry-picking, and GitHub’s squash merge (which collects every co-author line from the squashed commits) all keep it.
Also worth knowing: the toggle in Cursor Settings > Git & Pull Requests only covers the agent in the editor. The Cursor CLI has its own setting in ~/.cursor/cli-config.json (attribution.attributeCommitsToAgent), and Cloud Agents and the JetBrains/Zed integration don’t follow that toggle right now.
For one of the affected commits, was it a plain commit, or an amend, squash or merge of other commits? And had an agent committed anything on that branch before?
That’s make sense, I have been used jetbrain two months ago to help me identify the error when compiling time and running time in my java code. Thank you!