Skip to content

gitset-cli is AI-powered CLI tool that generates semantic commit messages by analyzing your staged changes. Save time and maintain consistency in your Git workflow with intelligent, context-aware commit suggestions.

License

Notifications You must be signed in to change notification settings

gitset-dev/gitset-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@gitset-dev/cli

Gitset
npm version License: MPL 2.0

Generate semantic commit messages using AI-driven analysis of staged code changes.

Features

  • 🤖 AI-powered commit message generation
  • 📝 Semantic commit message formatting
  • 🔍 Smart analysis of staged changes
  • 🚀 Fast and lightweight
  • 💻 Cross-platform support

Installation

npm install -g @gitset-dev/cli

Usage

  1. Stage your changes:
git add .
  1. Generate a commit message:
gitset suggest
  1. Review and use the generated message:
git commit -m "your generated message"

Examples

# Basic usage
$ gitset suggest
✨ Suggested message:
------------------
feat: Add user authentication feature with JWT support

- Implement JWT token generation and validation
- Add login and signup endpoints
- Create middleware for route protection

Requirements

  • Node.js >= 18.0.0
  • Git installed and configured

Configuration

No additional configuration needed. The CLI automatically detects your Git repository and staged changes.

API Reference

Commands

  • gitset suggest - Generate a commit message based on staged changes

Options

  • --version - Show CLI version
  • --help - Show help information

Contributing

We love your input! We want to make contributing to @gitset-dev/cli as easy and transparent as possible.

  1. Fork the repo
  2. Create your feature branch:
    git checkout -b feature/amazing-feature
  3. Commit your changes:
    git commit -m 'feat: Add some amazing feature'
  4. Push to the branch:
    git push origin feature/amazing-feature
  5. Open a Pull Request

License

This project is licensed under the Mozilla Public License 2.0 - see the LICENSE.md file for details.

Support

Acknowledgments

  • Thanks to all our contributors
  • Built with Commander.js
  • Powered by Anthropic's Claude AI

Made with ❤️ by Gitset.dev

About

gitset-cli is AI-powered CLI tool that generates semantic commit messages by analyzing your staged changes. Save time and maintain consistency in your Git workflow with intelligent, context-aware commit suggestions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published