A Python tool to automate Git add, commit, and push actions with optional AI-generated commit messages using Ollama. Features a beautiful CLI interface with color-coded output and progress indicators.
- Single-command Git workflow automation
- AI-powered commit messages via Ollama
- Interactive file selection and type suggestions
- Conventional commits with emoji support
- Color-coded terminal interface
- Configurable through CLI options and environment variables
pipx install "git+https://github.com/beecave-homelab/git-acp.git"
For other installation methods and detailed instructions, see the Installation Guide.
# Interactive mode
git-acp
# Commit specific files with message
git-acp -a "README.md src/*.py" -m "Update documentation"
# AI-generated commit message
git-acp -o
For more usage examples and advanced features, refer to:
Configure settings by copying the provided example file and adjusting values:
mkdir -p ~/.config/git-acp
cp .env.example ~/.config/git-acp/.env
nano ~/.config/git-acp/.env # Adjust values as needed
Example configuration (~/.config/git-acp/.env
):
# Example configuration
GIT_ACP_AI_MODEL=mevatron/diffsense:1.5b
GIT_ACP_DEFAULT_BRANCH=main
See Advanced Usage for all available options.
This project is licensed under the MIT License - see the LICENSE file for details.