Ello Ello.

Can you recommend a program with which I can generate commit messages locally? I DO NOT want an LLM local or cloud API. What I want is a tiny or small language model. If I could easily swap or customize the model for each project, it would be better, too. So I could have smaller models for specific projects. I can do the training meself.

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 week ago

Use commit 0 as your initial commit, and then:

git log -1 --pretty=%s | sed -E 's/^commit ([0-9]+)$/\1/' | awk '{print "commit " ($1+1)}'
  • source