Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An AI-powered tool for generating commit messages with Git.

NotificationsYou must be signed in to change notification settings

devknowscode/opengit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An AI-powered assistant for generating well-structured, conventional commit messages in Git.

Overview

OpenGit leverages the power of AI to analyze your staged changes and generate high-quality commit messages that follow best practices. It helps maintain consistent commit history and improves code documentation without the mental overhead of crafting the perfect commit message.

Features

  • 🔍 Analyzes git staged changes
  • ✨ Generates conventional commit messages
  • ✅ Interactive approval workflow
  • 🧠 Powered by Gemini 2.0 Flash
  • 🔄 Follows conventional commit format (<type>[optional scope]: <description>)

Installation

git clone https://github.com/yourusername/opengit.gitcd opengitpip install -e.

Requirements

  • Python 3.12+
  • Git

Usage

  1. Stage your changes with git:
git add<files>
  1. Run OpenGit:
opengit
  1. OpenGit will analyze your changes and suggest a commit message
  2. The agent will automatically commit message when you accept commit message that agent generated through chat.
  3. Type "exit" to quit without committing

How It Works

OpenGit:

  1. Retrieves information about staged files using Git
  2. Sends the diff and file list to an AI model (Gemini 2.0 Flash)
  3. The AI generates a structured, conventional commit message
  4. You review and approve the message or request changes
  5. Upon approval, the message is committed to your repository

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

An AI-powered tool for generating commit messages with Git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp