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
ollamainstalled locallyllama3.1model 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
ollamaset up locally with thellama3.1model.
Run the script using Python:
python aicommitFor more options, use the --help flag:
python aicommit --help