Posts tagged with git

How to automatically generate a commit message using Claude original

by Freek Van der Herten – 5 minute read

For years, my git history contains "wip" commit messages. I don't really often use git history myself, but my colleagues do. And when they're trying to understand a change I made six months ago, "wip" tells them absolutely nothing. Might as well not have commit messages at all.

I knew I should write better commit messages, but the friction was real. Stopping to think about how to summarize my changes felt like it broke my flow. So I kept typing "wip".

Now, I have a bash function in my dotfiles that uses Claude to generate commit messages for me.

Read more

Join 9,500+ smart developers

Every month I share what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.

No spam. Unsubscribe anytime. You can also follow me on X.

Advanced Git Magic

Here's the recording of a cool talk by Pauline Vos given at Full Stack Europe 2022. In this talk she shares a couple of cool things you can do with Git.

Together with my buddies Dries and Rias, I'm already organising the next edition of Full Stack Europe, which will be held in October 2023 in Antwerp, Belgium. You can get your early bird tickets on our website.

Read more

Saying goodbye to WIP commit messages original

by Freek Van der Herten – 5 minute read

There are two kinds of developers: those that write commit messages and value a repo's history and those that don't. I'm in the latter camp: most of my commit messages just read "WIP", much to the chagrin of some of my colleagues. I've tried to change my ways, but I just can't get into the habit of writing good commit messages.

But now I have a solution: I use the power of AI to write my commit messages for me. In this blog post, I'll show you how I did it.

Read more