Skip to content
/ gitmit Public

A lightweight CLI tool that analyzes your staged changes and suggests professional commit messages following the Conventional Commits format — without relying on AI.

License

Notifications You must be signed in to change notification settings

andev0x/gitmit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capytrace Logo

Go Version License: MIT Go Report Card

🧠 Gitmit

Gitmit is a lightweight CLI tool that analyzes your staged changes and suggests professional commit messages following the Conventional Commits format.

🔍 Why Gitmit?

Ever struggled to write a clear and concise commit message? Gitmit simplifies this process by analyzing your changes and suggesting commit messages that adhere to industry standards.

✨ Features

  • Smart Analysis: Understands your changes using git status and git diff
  • Conventional Commits: Follows the standard format (e.g., feat, fix, refactor)
  • Interactive Mode: Customize or accept suggestions interactively
  • Privacy First: Operates entirely offline
  • Cross-Platform: Works on Linux, macOS, and Windows

🚀 Installation

Using Go Install

go install github.com/andev0x/gitmit@latest

From Source

git clone https://github.com/andev0x/gitmit.git
cd gitmit
go build -o gitmit
sudo mv gitmit /usr/local/bin/

Binary Releases

Download pre-built binaries from the releases page.

📖 Usage

Basic Usage

# Stage your changes
git add .

# Run gitmit
gitmit

Command Line Options

gitmit --help      # Show help message
gitmit --version   # Show version number
gitmit --dry-run   # Show suggestion without committing
gitmit --verbose   # Show detailed analysis

🤝 Contributing

We welcome contributions! Please see the Contributing Guide for details.

Development Setup

# Clone the repository
git clone https://github.com/andev0x/gitmit.git
cd gitmit

# Install dependencies
go mod download

# Run tests
go test ./...

# Build the project
go build -o gitmit

# Run locally
./gitmit --help

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

🙏 Acknowledgments


Made with ❤️ by the open source community

If you find Gitmit useful, please consider giving it a ⭐ on GitHub!

About

A lightweight CLI tool that analyzes your staged changes and suggests professional commit messages following the Conventional Commits format — without relying on AI.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published