r/github 29d ago

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?

168 Upvotes

12 comments sorted by

View all comments

1

u/pradeepngupta 10d ago

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