Observed since 21 Oct, 10:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aicmt
An intelligent Git commit assistant that not only generates commit messages, but also automatically analyzes and splits your code changes into multiple well-organized commits following best practices.
An AI-powered Git commit assistant that not only generates commit messages, but also automatically analyzes and splits your code changes into multiple well-organized commits following best practices.
Use pip to install (Python >=3.10)
pip install aicmt
or use brew to install
brew install versun/tap/aicmt
.aicmtrcReference the template file .aicmtrc.template and create .aicmtrc in your home directory.
cp .aicmtrc.template ~/.config/aicmt/.aicmtrc
You can also create .aicmtrc in the current directory, which will override the global configuration file (~/.config/aicmt/.aicmtrc)
cd /path/to/git/repo
touch .aicmtrc
Add OpenAI API and other information in the configuration file.
Enter your git repository directory and run the aicmt command to automatically analyze changes and generate commit messages.
$ aicmt -h
usage: aicmt [-h] [-v] [-n N]
<<< AICMT (AI Commit) - AI-powered Git commit assistant >>>
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-n, --num-commits N Number of commits to generate (default: AI decides)
git clone https://github.com/versun/aicmt.git
cd aicmt
pip install -e ".[dev]"
All code in this project is AI-generated, so if you encounter any problems, please first try asking AI for solutions (preferably using the claude-3.5-sonnet model). If the issue persists, please submit an issue, and I will consult AI to resolve it.
Pull requests are welcome! Please submit an issue before submitting a pull request, to avoid duplicate submissions.
I am deeply grateful to my amazing supporters and sponsors who have made my open source journey possible.
Become a Sponser on Github / 爱发电 / 微信
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
gitpythonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | gitpython | runtime |
openaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | openai | runtime |
richEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | rich | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pytest; extra == "dev" | runtime |
pytest-covEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pytest-cov; extra == "dev" | runtime |
ruffEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | ruff; extra == "dev" | runtime |
bdist_wheel · 18.14 KB · Python py3
sdist · 29.59 KB · Python source
Observed since 21 Oct, 10:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:6719f23219f53780ec28b91ed25ad52411fb569deea2484f867f6f42f3d318bf