here is # aicommit
aicommit
is a script that automatically adds changed files in your git repository and uses a local LLM (Large Language Model) to generate concise, one-line commit messages.
- Python 3.6 or higher
ollama
installed locallyllama3.1
model available viaollama
-
Clone this repository:
git clone https://github.com/yourusername/aicommit.git cd aicommit
-
Install the required Python packages:
pip install -r requirements.txt
-
Ensure you have
ollama
set up locally with thellama3.1
model.
Run the script using Python:
python aicommit
For more options, use the --help
flag:
python aicommit --help