from Hacker News

Show HN: Simple AI-powered commit msgs script

by tomdekan on 5/13/25, 10:02 PM with 0 comments

I wrote a short script that takes a Git diff and uses OpenAI’s API to output a concise commit summary plus a detailed description following best practices. It works with any repo - just add it to .bashrc or equivalent.

Hope it saves you time.