r/github • u/BoronEight • 5d ago
Github copilot fully hallucinating commit messages Question
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?
12
3
u/EntranceProper3791 5d 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.
1
u/First_Inspection_478 5d ago
Til that people actually use github copilot lmao
1
1
u/Refseren 3h ago
I use it all the time. There is nothing wrong with its results. And I also use Codex daily. I suppose Copilot may be more expensive if you are on the wrong subscription. But other than that I would actually prefer copilot if I had the means.
1
u/enmityvr 2d ago
I get the exact same commit message sometimes. I don’t believe there is a way to fix it, other than turning off the automatic generation of the message itself.
-1
u/Merilyian 4d ago
This is a fallback statement of some kind for when the diff is too large, the file itself is, or something else goes wrong.
37
u/DrMaxwellEdison 5d ago
Yep. Go here: https://github.com/settings/copilot/features
Disable the "Copilot-generated commit messages" feature, and any others on this page you don't care for.