Submit a product

gptcommit

Git hook that drafts commit messages with a large language model

ToolCommand lineOpen source

gptcommit is a command-line tool that plugs into git as a prepare-commit-msg hook. When you commit, it reads the staged changes and asks a large language model to write the commit message, so you can review and edit it before it is saved. It is aimed at developers who want less friction when writing commit messages.

The project is open source under the MIT license and the source code is public on GitHub. It runs from the terminal and is written in Rust. Because it hooks into git itself, it works with the usual commit flow rather than a separate interface. The facts available do not describe a pricing model or supported models beyond the large language model integration.

Alternatives to gptcommit

Products that do a similar job in Developer Tools.

All alternatives

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

GitHub CLI

Command line tool for working with GitHub from the terminal

ToolDeveloper Tools··Open source·47k

gitui

Keyboard-driven terminal interface for git repositories

ToolDeveloper Tools··Open source·23k

opencommit

CLI that writes git commit messages with an LLM

ToolDeveloper Tools·Open source·7.6k

Bruno

Desktop client for exploring and testing APIs

AppDeveloper Tools··Open source·49k

git-history

Browse the commit history of a single file in a git repository

ToolDeveloper Tools··Open source·14k

tig

Text-mode interface for browsing and working with git repositories

ToolDeveloper Tools··Open source·13k