Skip to content

InstantlyMoist/git-ai-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

git-ai-commit

Updates all your repositories, and writes AI commit messages for them.

This script loops through every child directory, looks at the git diff and creates a commit message out of it. It will then automatically commit and push it to the latest branch.

Prerequisites

How to run

$ git clone https://github.com/InstantlyMoist/git-ai-commit
$ mv ./git-ai-commit/autocommit.sh ~/your-desired-directory
$ chmod +x ~/your-desired-directory/autocommit.sh
$ ~/your-desired-directory/autocommit.sh

# Change prompt (if desired)
export COMMIT_PROMPT="Generate a concise and informative commit message summarizing the following git diff:"

Tested with model

  • deepseek-r1:7b

About

Updates all your repositories, and writes AI commit messages for them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages