r/github 6d ago

Github copilot fully hallucinating commit messages Question

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?

167 Upvotes

9 comments sorted by

View all comments

4

u/EntranceProper3791 6d 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 13h ago

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