gcmg
v3.0.1
Published
A tool to generate commit messages and commands for git
Downloads
48
Readme
An opinionated commit message generator for git.
Installation
npm i -g gcmg@latestUsage
Generate a commit message
gcmg # or git msgAsk a question about git
gcmg how do I remove sensitive data from git history?Follows a proven structure
Follows the Conventional Commits format.
example:
feat!: send an email to the customer when a product is shippedConfiguration
Run gcmg config to configure
$ gcmg config
? Select your preferred AI provider » - Use arrow-keys. Return to submit.
> OpenAI
Anthropic
Google
Custom OpenAI Based Provider
If you are using a custom OpenAI based provider, you need to enter the model ID and the base URL.
Select your model from the list of available models.
√ Select your preferred AI provider » Anthropic
? Select your preferred model »
> claude-sonnet-4.6
claude-opus-4.6
claude-opus-4.5
claude-haiku-4.5
claude-sonnet-4.5
claude-opus-4.1
claude-opus-4
claude-sonnet-4
claude-3.7-sonnet
↓ claude-3.7-sonnet:thinkingUses openrouter to fetch the list of available models. Check out generate-models.ts to see how it works.
License
This project is licensed under the MIT License - see the LICENSE file for details.
