Customize Git Commit Messages?

I really love the “Generation of Git Commit Messages” feature introduced in version 0.43—it’s been a much-anticipated addition! That said, I’m curious if there’s a way to customize the generated commit messages. Is this possible? If so, I’d appreciate any guidance on how to set it up.

Thanks in advance!

4 Likes

there isn’t for now, but it will look at your previous messages and learn from that. we’ll look into adding custom instructions for it!

4 Likes

I have the same issue, do we have a timeline for when we will get custom git commit formats for it to follow?

not as of now, but I’ll definitely bring it up with the team again! we’re working on some other things around rules, so those might provide a good foundation for customized git messages

2 Likes

custom instructions for commit messages will be rolled out in either this (0.45) or next release!

2 Likes

I don’t think this has been released yet, any response?

3 Likes

I don’t think this feature is currently enabled. I’m looking forward to it, too!

Are we there yet with this feature?

Yes, commit messages abide .cursorrules now.

Just tell an Agent to write a rule on how you want to write your commit messages, for example here is an automatic versioning based on unstaged git changes, these are made in both in the source control pane but also in any Agent chat (there isn’t a 100% adherence to the rules as you can see).

image