Package Exports
- git-commit-at
- git-commit-at/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (git-commit-at) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
git-commit-at
AI-powered git commit message suggester using Ollama + tinyllama.
Features
- Suggests conventional commit messages based on staged git changes
- Uses Ollama with the
qwen2.5-coder:1.5b
model for high-quality suggestions - Interactive CLI with message selection
- Docker and Docker Compose support for easy setup
Requirements
Contribution
Clone this repository:
git clone <repo-url> cd git-commit-at
Install dependencies:
npm install
(Optional) Build the Docker image:
docker compose build
You can Raise Pr and Make changes
Usage
Run the tool, Just one Step of installing the tool:
npm i -g git-commit-at
Stage your changes:
git add .
To run the commmit
git commit-at
How it works
- Reads staged changes using
git diff --cached
- Parses the diff and sends it to Ollama for commit message suggestions
- Prompts you to select and confirm a message before committing
Development
- Main entry: index.js
- Diff parsing: diff-parser.js
- Commit spec: conventional-comit.js
- Docker wrapper: wrapper.js
License
MIT