Launched January 13, 2026
gitc

gitc

A Go CLI that generates commit messages using OpenAI

Free457 impressions#348 of its week

Hey, I recently finished a Go CLI tool I had been building on-and-off for about a year, and I’d love to share it with the community here. The tool is called gitc — it reads your git diff, sends it to OpenAI with a custom prompt, and returns a clean, concise commit message. It's built with flexibility, speed, and extensibility in mind. Key features: Fast & lightweight Built with urfave/cli Configurable via JSON Easy to install (go install ...) Clean architecture, designed to be easily extended Future support for Gemini or DeepSeek planned I'm currently the sole maintainer, so any feedback, stars, or contributions would mean a lot. If you've ever hesitated writing commit messages, this might save you some time. GitHub: https://github.com/rezatg/gitc Happy to hear what you think!

gitc is a fast Go CLI that generates concise commit messages from git diffs using OpenAI.

for
Go developers who want automated commit message suggestions.
pricing
open source
license
MIT
dll-as/gitc 43 1Goupdated 3 months ago
  • v1.0.0v1.0.0 – First Stable Release3 months ago
  • v0.4.0v0.4.0 — Zero-Friction AI Commits 🚀10 months ago
  • v0.3.0v0.3.0 – Improved Commit Message Clarity & Output Formattinga year ago
works withGoOpenAI

Key features

6 features of gitc
  • Diff analysis — Reads the current git diff and sends it to OpenAI.
  • Custom prompt — Uses a configurable JSON prompt to shape the generated message.
  • Lightweight — Built with urfave/cli for minimal overhead.
  • Easy install — Install via a single `go install` command.
  • Extensible architecture — Clean design allows easy extension and future model support.
  • Configurable JSON — Settings can be adjusted through a JSON file.

Use cases

  • Generate a clear commit message after a large code refactor
  • Create consistent commit messages for team members
  • Speed up commit workflow when unsure how to summarize changes

gitc FAQ

How does gitc create the commit message?+

It reads the git diff, sends it to OpenAI with a custom JSON prompt, and returns the generated message.

Do I need an OpenAI API key?+

Yes, you must provide your own OpenAI API credentials for the tool to work.

Can I customize the prompt?+

Yes, the prompt is configurable via a JSON file.

Is gitc limited to OpenAI?+

Currently it uses OpenAI, but future support for Gemini or DeepSeek is planned.

How do I install gitc?+

Run `go install github.com/rezatg/gitc@latest` to install the binary.

Summarized by DevHunt from github.com · Oct 11, 2026. Details may change; check the official site.