Rules not being followed in Git commit message generation

I’ve noticed that Cursor IDE’s Git commit message generation feature is not properly following the set Rules. This issue is particularly noticeable in the following case:

Git Commit Messages:

  • Despite having “Reply in Korean” set as the first rule

  • Messages are consistently being generated in English

  • This occurs every time when generating commit messages

Steps to Reproduce:

  1. Set Rules with “Reply in Korean” as the first line

  2. Try to generate a git commit message

  3. Observe that the message is generated in English instead of Korean

Expected Behavior:

  • Git commit messages should be generated in Korean as specified in Rules

Current Behavior:

  • Git commit messages are generated in English, ignoring the language Rule

Environment:

  • Cursor IDE (latest version)

  • Rules are properly set and saved

  • Issue occurs consistently across different projects

Would it be possible to investigate why the Rules are not being properly applied to this feature?

10 Likes

Same issue

+1 Same issue

+1 same

+1 same

According to this thread, customizing the commit message generation prompt isn’t possible yet. While having a separate customization specifically for commits would be ideal, we’re facing the same issue: despite all our team’s commits being in French, Cursor consistently generates messages in English.

The format itself is perfect - it follows conventional commit standards (same as our previous commits). However, since Eric mentioned that the generated messages are based on previous commits, the AI should naturally adopt the user’s language. Currently, it ignores our French commits and defaults to English, making this feature unusable for non-English teams :smiling_face_with_tear:

1 Like

I also encountered this problem. I voted for this problem. It is a function that can save lifetime.

please add this

Yes! we need to solve this too, the commit messages are too long in certain occasions, with a simple rule the AI can solve this.

We need this too!

same here, generating commit messages is saying too much unlike Github Copilot which is saying better short messages

This is so useful, would love to see this implemented :raised_hands:t3:

+1 same here.

Hey, unfortunately, this is still the case as the git commit message does not read your rules for AI nor is there a way to prompt it in any way.

I’ve added this to our internal features list and we will look at getting it added in a future update!

4 Likes

Please keep working on it, this is a very important feature!

up up

+1 same

The team are working on this feature, and will be adding it in a near future update!

1 Like