Observed since 21 Oct, 10:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A CLI tool to automatically generate git commit messages using OpenAI GPT-4
AIGIT is a command-line interface (CLI) tool that uses OpenAI to generate commit messages for your Git repositories. It checks the status of your Git repository, generates a commit message based on the changes, and commits those changes.
To install AIGIT, you need Python 3.6+ installed on your system. You have several options:
Using uv (fastest):
uv tool install aigit
Using pipx (alternative):
pipx install aigit
These methods install AIGIT globally and isolate its dependencies, making it available as the aig command anywhere on your system.
If you prefer a regular installation:
pip install aigit
Or using uv:
uv pip install aigit
Before using AIGIT, you need to configure your OpenAI API key. Run the following command and enter your API key when prompted:
aig --config
$ aig -h
usage: aig [-h] [--config] [-y]
AI-powered Git Helper
options:
-h, --help show this help message and exit
--config Configure API Key
-y, --yes Auto commit without asking for confirmation
To use AIGIT, navigate to your Git repository and run the following command:
aig
AIGIT will check the status of your Git repository, generate a commit message, and ask for your confirmation before committing the changes. If you want to auto commit without confirmation, use the -y or --yes option:
aig -y
pip install uvuv pip install .
The project uses pyproject.toml for dependency management and build configuration. To add new dependencies:
uv add <package-name>
To remove dependencies:
uv remove <package-name>
When releasing a new version, update the version number in both:
pyproject.toml: Update the version = "x.x.x" field under [project]aigit/__init__.py: Update the __version__ = "x.x.x" variable./scripts/deploy.sh
The script will:
For manual deployment, you can run these commands individually:
# Clean artifacts
rm -rf dist/ build/ *.egg-info/
# Build
uv build
# Upload to PyPI
uvx twine upload dist/*
Contributions are welcome! Please feel free to submit a pull request.
AIGIT is open-source software licensed under the MIT license.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.9 | 2 Jan 2025 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2401b564cf2f6628c5d1195219e2e1442aba8cecd03aa6596dd669f37c8975f9