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!

  • lemmysmash@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    2 hours 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)}'