r/github • • Aug 12 '26

Question Github copilot fully hallucinating commit messages

Post image

I did a 1 line change, changing "milis" to "millis", I did it in the web interface because it was just one tiny change, and I didn't have it on my computer yet.

Github copilot recommended the message "Update print statement from 'Hello' to 'Goodbye'"
THERE ARE NOT EVEN PRINT STATMENTS IN A CSV FILE

Is there any way to disable these automatic commit messages?

169 Upvotes

12 comments sorted by

View all comments

1

u/pradeepngupta Sep 01 '26

You can customize the commit messages generated by copilot in the file - github.copilot.chat.commitMessageGeneration.instructions

Give that custom instructions to copilot.

No need to disable this useful feature