auto-commit is a free, open-source command-line utility that automatically generates Git commit messages by analyzing staged code changes. Written in Rust, it integrates with OpenAI's GPT-3.5 language model to describe modifications in clear, relevant commit messages. Developers stage their changes using standard Git commands before running the application. The tool examines the staged differences and produces a message reflecting the work performed. It can create the Git commit automatically, eliminating the need to write repetitive commit descriptions. A review option allows users to edit generated messages before committing. Dry-run mode displays the suggested message without modifying the repository. Additional verbosity controls adjust terminal output, while installation options include downloadable binaries, shell scripts, and Arch Linux packages.
Features
- AI-Generated Git Commit Messages
- Automatic Staged Change Analysis
- OpenAI GPT-3.5 Integration
- Editable Commit Message Review
- Dry-Run Message Preview
- Configurable Command-Line Output