Skip to content

samucodesh/geminicli-gitcommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini CLI Git Commit Extension

This extension for Gemini CLI automates the generation of Git commit messages. By analyzing the changes in your staging area, it creates a professional title and a descriptive body to keep your project history clear and concise.

Features

  • Conventional Commits: Automatically generates messages following the industry-standard Conventional Commits specification.
  • Safety First (No Backticks): Guarantees output without backticks (`), preventing the Gemini CLI from incorrectly identifying messages as bash commands.
  • Context Awareness: Automatically activates when you ask to "commit this," "write a commit message," or similar requests.
  • Automated Analysis: Inspects your Git staging area to understand code changes and provide meaningful context.
  • Seamless Integration: Adds both an Agent Skill and a custom command directly into your Gemini CLI workflow.

Installation

To install the extension, run the following command:

gemini extension install https://github.com/samucodesh/geminicli-gitcommit

Usage

Once installed, you can trigger the extension within Gemini CLI using the custom command:

/git:commit

Note

You must have changes staged in Git (git add) for the extension to analyze them.

Uninstallation

To remove the extension from your system, use the following command:

gemini extension uninstall https://github.com/samucodesh/geminicli-gitcommit

Resources

License

This project is licensed under the Apache License 2.0. For more details, see the LICENSE file.

About

AI-powered Gemini CLI extension to automate Git commit messages.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors