Unable to add specific commits to chat

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Previously, before the 2.0 update, I was able to add specific commits to my chat to provide context.
In cursor 2.0, I am unable to do so now

Steps to Reproduce

Try right clicking on the commit in agent view, there is no option to add commit to chat

The @git Command does not allow me to add commits to chat
The @Commit command only adds diff with working state

Expected Behavior

Ability to right click on a commit and add it to context or add commits to context via the @ command

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.38 (Universal)
VSCode Version: 1.99.3
Commit: 3fa438a81d579067162dd8767025b788454e6f90
Date: 2025-10-29T20:45:40.883Z (9 hrs ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0

For AI issues: which model did you use?

It used to work with auto

For AI issues: add Request ID with privacy disabled

na

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

4 Likes

I am experiencing the same issue. Please Cursor team fix this asap, it really impacts my workflow.

As a workaround, I was able to prompt it to use “git show commithash" to read the commit.

I too am facing this same issue. Using git show for now

Thanks for reporting this, I’m checking with the team on this.

@Radek_Manak 's workaround is nice. I personally sometimes ask agent to use gh cli for some of these.

Hi, thanks for the report.

We recently found that certain context sources, like @commit and @git, we’re not working correctly or as you might expect. Additionally, with the improvements to the Agent interacting with the terminal in recent Cursor and model releases, the Agent is now very effective and queries git history within the terminal on its own!

Asking the agent a specific task, such as Analyze my staged Git changes and confirm they don’t break anything elswerhere in my codebaseIt is often the best way to get the Agent to analyse your Git history, but if you find yourself often wanting to do the exact same workflow, we’ve introduced custom commands so that you can create your own shorthands for these repetitive actions.

We imagine this to be much more powerful, as they can be entirely custom to each user!

You can learn more about that here:

1 Like

Is the intention still to be able to reference historical commits via @git? Being able to include this as context is more streamlined and consumes fewer tokens than requesting the agent to perform terminal actions

1 Like

Oh no, this is a bummer!
I loved to be able to select a past commit (not the latest one! one from a week ago or so) as Context and tell the Cursor agent: “Look at the change we made in this commit to xyService.ts, xyRepository.ts and xyService.test.ts. Now apply the same change pattern to abService“.

I’m not sure what you found to not work correctly; adding a past commit as context and asking cursor “summarize what we did in this commit“, then keep working in this context worked perfectly.
In fact one reason for me to favor Cursor over Kiro or Amazon Q Developer was this feature. Please bring it back :cry:

2 Likes

Exactly, I use cursor just because of this, now I start to look for an alternative