Nothing Special   »   [go: up one dir, main page]

Skip to content

Automatically add changed files in the git repo and use a local LLM to generate the commit message

License

Notifications You must be signed in to change notification settings

brooksc/aicommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Prerequisites

  • Python 3.6 or higher
  • ollama installed locally
  • llama3.1 model available via ollama

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/aicommit.git
    cd aicommit
  2. Install the required Python packages:

    pip install -r requirements.txt
  3. Ensure you have ollama set up locally with the llama3.1 model.

Usage

Run the script using Python:

python aicommit

For more options, use the --help flag:

python aicommit --help

About

Automatically add changed files in the git repo and use a local LLM to generate the commit message

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages