AiCommitMessage 0.3.6

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global AiCommitMessage --version 0.3.6
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local AiCommitMessage --version 0.3.6
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AiCommitMessage&version=0.3.6
                    
nuke :add-package AiCommitMessage --version 0.3.6
                    

GIT Hooks + OpenAI - Generate GIT commit messages from Open AI

🧠 🧰 This tool generates AI-powered commit messages via Git hooks, automating meaningful message suggestions from OpenAI and others to improve commit quality and efficiency.

GitHub last commit GitHub license time tracker

Build Continuous Integration Infisical secrets check Linter check


This is still in development/beta. It will be GA when a major release 1 becomes available.

What this tool does

Generates a commit message based on the git diff result using the OpenAI API.


Requirements


Getting started

AICommitMessage NuGet Version AICommitMessage NuGet Downloads

This repository is available at NuGet under the name AICommitMessage.

Installation

  1. Install the tool globally (or per project/repository).
  2. Move to the project folder.
  3. Install the Git hook on the default hooks directory.
dotnet tool install -g AiCommitMessage
cd my-project/
dotnet-aicommitmessage install-hook
git add .
git commit -m ""

Use git log -1 to review the last commit details and find the automatically generated commit message.


Commit message pattern

The training model for the AI used is designed using as reference these two guidelines:


Commands

This tool accepts an argument as the command to execute. Here is a list of available commands:

Command Description
install-hook Installs GIT hooks in the default .git/hooks directory or in the custom directory configured in GIT settings.
generate-message Generates a commit message based on the current changes (git diff context).
set-settings Set the OpenAI settings.
help Display information about this program.
version Display version information.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.24 132 6/16/2025
1.0.23 215 6/9/2025
1.0.22 198 6/9/2025
1.0.21 136 5/26/2025
1.0.20 137 5/26/2025
1.0.19 134 5/19/2025
1.0.18 134 5/19/2025
1.0.17 136 5/19/2025
1.0.16 213 5/12/2025
1.0.15 184 5/12/2025
1.0.14 140 5/8/2025
1.0.13 142 5/8/2025
1.0.12 136 5/8/2025
1.0.11 132 5/6/2025
1.0.10 160 4/21/2025
1.0.9 199 4/14/2025
1.0.8 191 4/14/2025
1.0.7 159 4/7/2025
1.0.6 151 3/31/2025
1.0.5 339 3/24/2025
1.0.4 140 3/19/2025
1.0.3 140 3/19/2025
1.0.2 142 3/17/2025
1.0.1 139 3/17/2025
1.0.0 209 3/5/2025
0.12.34 157 3/3/2025
0.12.33 154 3/3/2025
0.12.32 153 3/3/2025
0.12.31 156 3/3/2025
0.12.30 122 2/26/2025
0.12.29 95 2/24/2025
0.12.28 103 2/17/2025
0.12.27 119 2/10/2025
0.12.26 111 2/3/2025
0.12.25 105 1/27/2025
0.12.24 91 1/27/2025
0.12.23 99 1/27/2025
0.12.22 95 1/21/2025
0.12.21 100 1/21/2025
0.12.20 110 1/20/2025
0.12.19 105 1/20/2025
0.12.18 98 1/20/2025
0.12.17 82 1/13/2025
0.12.16 80 1/13/2025
0.12.15 69 1/13/2025
0.12.14 105 1/6/2025
0.12.13 89 1/6/2025
0.12.12 98 1/6/2025
0.12.11 103 1/6/2025
0.12.10 102 12/31/2024
0.12.9 111 12/31/2024
0.12.8 109 12/30/2024
0.12.7 106 12/30/2024
0.12.6 120 12/25/2024
0.12.5 112 12/25/2024
0.12.4 111 12/25/2024
0.12.3 112 12/23/2024
0.12.2 92 12/23/2024
0.12.1 113 12/16/2024
0.12.0 134 12/12/2024
0.11.12 114 12/9/2024
0.11.11 107 12/9/2024
0.11.10 105 12/3/2024
0.11.9 105 12/3/2024
0.11.8 94 12/2/2024
0.11.7 109 12/2/2024
0.11.6 111 12/2/2024
0.11.5 101 12/2/2024
0.11.4 108 11/26/2024
0.11.3 106 11/26/2024
0.11.2 100 11/26/2024
0.11.1 103 11/25/2024
0.11.0 98 11/23/2024
0.10.2 109 11/23/2024
0.10.1 108 11/23/2024
0.10.0 115 11/20/2024
0.9.1 111 11/20/2024
0.9.0 105 11/20/2024
0.8.8 107 11/18/2024
0.8.7 101 11/18/2024
0.8.6 110 11/15/2024
0.8.5 99 11/15/2024
0.8.4 113 11/12/2024
0.8.3 115 11/11/2024
0.8.2 113 11/11/2024
0.8.1 103 11/4/2024
0.8.0 117 11/1/2024
0.7.9 106 11/1/2024
0.7.8 109 11/1/2024
0.7.7 101 11/1/2024
0.7.6 108 11/1/2024
0.7.5 120 11/1/2024
0.7.4 104 10/28/2024
0.7.3 116 10/28/2024
0.7.2 101 10/28/2024
0.7.1 108 10/27/2024
0.7.0 104 10/26/2024
0.6.1 106 10/26/2024
0.6.0 106 10/22/2024
0.5.1 99 10/22/2024
0.5.0 94 10/22/2024
0.4.23 113 10/22/2024
0.4.22 100 10/22/2024
0.4.21 124 10/21/2024
0.4.20 187 10/19/2024
0.4.19 133 10/19/2024
0.4.18 130 10/19/2024
0.4.17 130 10/19/2024
0.4.16 136 10/19/2024
0.4.15 133 10/19/2024
0.4.14 141 10/19/2024
0.4.13 140 10/19/2024
0.4.12 142 10/19/2024
0.4.11 141 10/19/2024
0.4.10 140 10/19/2024
0.4.9 106 10/14/2024
0.4.8 107 10/14/2024
0.4.7 136 10/14/2024
0.4.6 115 10/8/2024
0.4.5 106 10/8/2024
0.4.4 112 10/8/2024
0.4.3 105 10/8/2024
0.4.2 106 10/8/2024
0.4.1 105 10/8/2024
0.4.0 107 10/8/2024
0.3.11 107 10/8/2024
0.3.10 149 10/8/2024
0.3.9 110 10/8/2024
0.3.8 122 10/8/2024
0.3.7 109 10/8/2024
0.3.6 108 10/8/2024
0.3.5 104 10/7/2024
0.3.4 107 10/7/2024
0.3.3 145 9/30/2024
0.3.2 115 9/30/2024
0.3.1 114 9/25/2024
0.3.0 113 9/25/2024
0.2.7 119 9/23/2024
0.2.6 123 9/23/2024
0.2.5 116 9/23/2024
0.2.4 116 9/23/2024
0.2.3 109 9/23/2024
0.2.2 152 9/23/2024
0.2.1 109 9/21/2024
0.2.0 117 9/20/2024
0.1.29 105 9/20/2024
0.1.28 107 9/20/2024
0.1.27 108 9/20/2024
0.1.26 117 9/20/2024
0.1.25 118 9/20/2024
0.1.24 120 9/20/2024
0.1.23 129 9/17/2024
0.1.22 130 9/17/2024
0.1.21 120 9/17/2024
0.1.20 120 9/17/2024
0.1.19 125 9/17/2024
0.1.18 116 9/17/2024
0.1.17 124 9/17/2024
0.1.16 124 9/16/2024
0.1.15 170 9/16/2024
0.1.14 115 9/16/2024
0.1.12 120 9/16/2024
0.1.11 117 9/16/2024