Live data from Hacker News

Show HN: Generate commit messages using GPT-3

github.com

1–10 of 73 posts

Re: Show HN: Generate commit messages using GPT-3

#3
This creates precisely the kind of commit messages that I regularly scold junior developers for :)"

In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs.

But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.

Re: Show HN: Generate commit messages using GPT-3

#5

This creates precisely the kind of commit messages that I regularly scold junior developers for :)" In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs. But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.

Can you give some examples of good commit messages?

Re: Show HN: Generate commit messages using GPT-3

#6

This creates precisely the kind of commit messages that I regularly scold junior developers for :)" In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs. But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.

So this would be more appropriate as an "explain commit" tool, which would also evolve as gpt3 gets better

Re: Show HN: Generate commit messages using GPT-3

#8
post #5

This creates precisely the kind of commit messages that I regularly scold junior developers for :)" In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs. But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.

Can you give some examples of good commit messages?

Subjective and also depends on the culture where you work. I’ve worker at places where the majority of the “why” Is in a JIRA ticket, so the commit message better reference that ticket number. Not so at other places. See what I mean?

Re: Show HN: Generate commit messages using GPT-3

#9

This creates precisely the kind of commit messages that I regularly scold junior developers for :)" In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs. But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.

Why should the commit message explain why? I thought the point was to give a summary of the changes so that you don’t have to read the full diff.

Re: Show HN: Generate commit messages using GPT-3

#10
post #5

This creates precisely the kind of commit messages that I regularly scold junior developers for :)" In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs. But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.

Can you give some examples of good commit messages?

Or, just squash your commits and focus on bigger things.
Post reply on HN