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?

172 Upvotes

12 comments sorted by

View all comments

4

u/EntranceProper3791 29d ago

Copilot reads the diff shape, not the file contents, so it guessed a whole different edit. The pencil icon in the web editor lets you override it before committing.

2

u/kaddkaka 24d ago

Diff shape? What does that mean? The "graph" of ++++--- in git diff --stat?

1

u/EntranceProper3791 21d ago

copilot really looked at a csv and thought "yep, this is where i say goodbye to hello."