- Notifications
You must be signed in to change notification settings - Fork2
An AI-powered Git extension that generates commit messages using OpenAI's model.
License
laststance/git-gpt-commit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Warning
Latest version not working at the time. Please downloadv0.9.10
An AI-powered Git extension that generates commit messages using OpenAI's models, streamlining the commit process and improving developer productivity.
📺Demo Video📖v0.9.0 Release Post
There are two ways to install the Git extension: using npm or manual installation.
- Step1: run the following command:
npm install -g @laststance/git-gpt-commit@0.9.10
- Step2: add your OpenAI API key using the
git gpt open-api-key
git gpt open-api-key
SelectAdd or update API key from the menu and enter your API key when prompted. Your key will be securely stored in your user configuration.
- Step3: commit your changes with
git gpt commit
git add --allgit gpt commit // generate commit message with AI
✅ You've completed all setup!
Commit with AI-generated message
git gpt commit
Generates a commit message based on your staged changes.
Select AI Model
git gpt model
Choose from available models (gpt-4o, gpt-3.5-turbo-instruct, gpt-4-turbo, gpt-4).
Change Commit Message Language
git gpt lang
Select the language for commit messages (English, Spanish, Japanese, French, German, Italian, Korean, Chinese, Dutch, Russian, Portuguese).
Toggle Commit Prefix
git gpt prefix
Enable/disable conventional commit prefixes (feat:, fix:, chore:, etc.).
Manage OpenAI API Key
git gpt open-api-key
Add, update, display, or delete your stored OpenAI API key.
Show Current Configuration
git gpt config
Display your current settings (model, language, prefix status, API key).
Your settings are stored in~/.git-gpt-commit-config.json and automatically loaded when you use the extension. You can manage your configuration through the commands above or directly edit this file.
Original package doesn't work due to config mistake 'package.json'.https://github.com/nooqta/git-commit-gpt
Therefore I fix it and added some features as a '@laststance/git-gpt-commit'.
Thanks to
- Author oforiginal package
This project is licensed under the MIT License.
About
An AI-powered Git extension that generates commit messages using OpenAI's model.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.


