How to disable git commit in cursor chat?

截屏2025-06-17 13.59.21

In the cursor chat, I just asked it to finish the progromming and didn’t ask it to commit anything to git.
But it did that as the screenshot you can see.

Any setting I can use to prevent this kind of thing?

try this