@Git
Learn how to use @Git in Cursor’s Chat to analyze diffs, find bugs, and generate commit messages
Currently,
@Git
is only supported in Chat & ComposerIn Cursor’s Chat, you can use @Git
to add git commits, diffs, or pull requests to your prompt.
Common Use Cases
One common use case for @Git
is to allow Cursor’s AI to scan the diff and look for bugs or issues that could be caused by the diff.
You could also use @Diff of Working State
to generate a commit message from your current diffs.
Was this page helpful?