Agents
Cursor Git Integration: Commit Messages, Conflicts, Attribution
Cursor adds AI features on top of the standard Source Control panel: a sparkle icon that writes a commit message from your staged diff and repo history, Resolve in Chat for merge conflicts, a Made with Cursor trailer on Agent commits and PRs, and Cursor Blame for tracking which lines were AI-written.
On this page
Can Agent write my commit messages?
Yes, and it reads more than the diff. Stage your changes, then click the sparkle icon in the commit message input. Cursor generates a message based on your diff and your repo history, so the result tends to match the conventions already in your log rather than a generic template.
The generator works from staged changes. An empty stage gives it nothing to describe.
This is covered hands-on in Agent Mode Foundations — 6 short modules, free to read.
How does AI merge conflict resolution work in Cursor?
When you hit a merge conflict, the conflict UI carries a Resolve in Chat action. Agent analyses both sides and proposes a resolution, which you then accept or edit like any other diff.
Worth being clear about the word "proposes". A conflict is usually two people disagreeing about intent, and the agent is reading the code, not the intent. Read what it chose before you take it.
What is the Made with Cursor trailer?
When Agent creates commits or pull requests, Cursor can append a Made with Cursor trailer automatically. It covers both git commits and pull requests created via gh pr create, and it is on by default.
- Cursor version
- Before 3.11
- Where the setting lives
- Cursor Settings > Agent > Attribution
- Cursor version
- 3.11 and later
- Where the setting lives
- Cursor Settings > Git & PRs > Attribution
| Cursor version | Where the setting lives |
|---|---|
| Before 3.11 | Cursor Settings > Agent > Attribution |
| 3.11 and later | Cursor Settings > Git & PRs > Attribution |
Cursor documents the move in 3.11; the toggle itself is unchanged.
If your team cares about the trailer either way, the individual toggle is not where you settle it. That is the next section.
Can enterprise admins turn commit attribution off?
Yes, globally. Enterprise admins can disable commit attribution for all team members from the Admin Dashboard, under Admin Dashboard > Settings. The org-level setting overrides individual user settings, so no trailers are appended to Agent commits or PRs anywhere in the organisation.
An admin turning attribution off wins over a developer turning it on. Decide it once at the org level rather than auditing individual settings.
What is Cursor Blame?
Cursor BlameAn augmented git blame that records line-level human and agent co-authorship, so you can trace which code was written by AI versus a person. Press Enter for the full definition. tracks which code was written by AI and which was written by humans, annotating your git history so you can see at a glance whether a line was AI-generated. Cursor names three uses for it: code review, auditing, and understanding your codebase's AI footprint.
This is the piece that matters when someone asks what proportion of a repository the agents wrote. Setup and usage live in the Cursor BlameAn augmented git blame that records line-level human and agent co-authorship, so you can trace which code was written by AI versus a person. Press Enter for the full definition. reference rather than on the help page.
Does Agent work across multiple workspaces?
Each open workspace has its own independent Agent and git context, and an agent in one window will not touch files in another. That isolation is what makes running work in two windows at once safe rather than a race.
Frequently asked questions
How do I get Cursor to write a commit message?
Stage your changes, then click the sparkle icon in the commit message input. Cursor generates the message from your diff and your repo history.
How do I resolve a merge conflict with Agent?
Click Resolve in Chat in the conflict UI. Agent analyses both sides and proposes a resolution for you to review.
How do I turn off the Made with Cursor trailer?
Attribution is on by default. Toggle it in Cursor Settings > Agent > Attribution, or Cursor Settings > Git & PRs > Attribution from Cursor 3.11. Enterprise admins can disable it for everyone from Admin Dashboard > Settings, which overrides individual settings.
Can I see how much of my codebase was written by AI?
That is what Cursor Blame does. It annotates your git history with whether each line was AI-generated, for review, auditing and measuring your codebase's AI footprint.
Sources & last verified
Cursor ships frequently. Facts verified against primary sources on July 27, 2026.
Keep reading
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.