Learn how to generate contextual Git commit messages automatically using Cursor’s sparkle icon or shortcuts
Cursor generates commit messages from staged changes.
Generated messages use staged changes and repository git history. If you use conventions like Conventional Commits, messages follow the same pattern.
To bind to a keyboard shortcut:
You cannot customize commit message generation. Cursor adapts to your existing commit style.