AIGitCommit

AIGitCommit

A simple tool to help you write better Git commit messages.

5 followers

Automatically generate meaningful, semantic commit messages from your Git changes using AI. Simply stage your changes, and AIGitCommit analyzes the diff to create clear, conventional commit messages instantly. Stop thinking about commit message conventions—let AI handle it while you focus on coding!
AIGitCommit gallery image
AIGitCommit gallery image
Free
Launch Team
Intercom
Intercom
Startups get 90% off Intercom + 1 year of Fin AI Agent free
Promoted

What do you think? …

Chen Ming
A simple tool to help you write better Git commit messages using AI. - It allows you to commit straight to the repository and integrate with the Git workflow. - The created message can be copied to the clipboard. - Easy-to-use command-line interface - By using the libgit2 library, there is no need to call an external command for security reasons - The system supports multiple AI models that are compatible with the OpenAI API - Socks5 and HTTP proxy supported
Chen Ming

You can also utilise the Docker image without installing the binary executable file.


docker run \
  --rm \
  -v $PWD:/repo:ro \
  -e OPENAI_API_BASE='<api base>' \
  -e OPENAI_API_TOKEN='<api token>' \
  -e OPENAI_MODEL_NAME='<model name>' \
  -e OPENAI_API_PROXY='<the proxy address if you need>' \
  ghcr.io/mingcheng/aigitcommit

Notice: If you wish to utilise the --commit option, you must ensure that the /repo directory is writable:


docker run \
  --rm \
  -it \
  -v $PWD:/repo:rw \
  -e OPENAI_API_BASE='<api base>' \
  -e OPENAI_API_TOKEN='<api token>' \
  -e OPENAI_MODEL_NAME='<model name>' \
  -e OPENAI_API_PROXY='<the proxy address if you need>' \
  ghcr.io/mingcheng/aigitcommit --commit

Tips: You can add --yes options to skip the confirm.