Skip to content

A git hook that uses a local llama3 to generate a commit message for you, better than 'wip'!

Notifications You must be signed in to change notification settings

MPickfield/llama-commit-msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

This is a git hook which uses a locally running llama3 to geerate a suggested commit message for your changes.

Only tested on mac

Setup

Download and install ollama: https://ollama.com/download/mac

download llama3 ollama run llama3

Symlink the commit hook into any repo you'd like to use it

ln -s /this/repo/path/prepare-commit-msg /your/repo/path/.git/hooks

Usage

When you go to commit without a message, a llama3 insstance will be started and will generate a suggested commit message for you. If you commit with a message inline, this will not call llama ex: git commit -am"wip"

About

A git hook that uses a local llama3 to generate a commit message for you, better than 'wip'!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages