- AI-Powered Commit Messages and Branch Creation: Generate meaningful commit messages and consistency branch names
- Interactive Interface: Choose to accept, regenerate, or edit generated messages
- Fast & Lightweight: Built in Go for optimal performance
- Smart Diff Analysis: Automatically analyzes your
git difffor context - Easy Integration: Simple CLI tool that works with any Git workflow
- Go 1.21 or higher
- Git
- Google AI Studio API key
go install github.com/ffelipelimao/gia@latestAdded your GOBIN into PATH
export PATH="$PATH:$(go env GOPATH)/bin"Download the latest release for your platform from the releases page.
Set up your environment variables:
# Add to your ~/.bashrc, ~/.zshrc, or ~/.profile
export GEMINI_API_KEY="your_api_key_here"
export GEMINI_PROMPT="your_custom_prompt_for_commit_generation"
export GEMINI_BRANCH_PROMPT="your_custom_prompt_for_branch_generation"Get your API key: Visit Google AI Studio to create your Gemini API key.
aws configuregit add .
# Using the full command to use gemini
gia commit gemini
# Using the full command to use bedrock
gia commit bedrock
# Using the shorthand alias
gia c gemini
# Using the default
gia c gemini# Using the full command
gia branch
gia b# General help
gia --help
# Command-specific help
gia commit --help
gia c --helpWe welcome contributions from the community! Here's how you can help:
- Check existing issues to see if your idea has already been discussed
- For new features, please open an issue first to discuss the implementation
This project is licensed under the MIT License - see the LICENSE file for details.
Important: Never commit API keys or sensitive credentials to version control. Always use environment variables for configuration.
⭐ Star this repo if you found it helpful!