Transform your git workflow with intelligent commit messages powered by AI! β¨
Stop wasting time writing commit messages and let AI do the heavy lifting. Gitp analyzes your changes and generates meaningful, contextual commit messages that actually make sense.
Breaking Change: Commit descriptions are no longer generated by default to improve speed and reduce token usage.
- Before: Gitp always generated both commit message and description
- Now: Only commit message is generated by default
- To get descriptions: Use the
--descriptionflag:gitp commit --description
This change makes commits faster while keeping the full functionality available when needed.
- π€ Multi-AI Provider Support - Works with OpenAI and Google
- π― Smart Context Analysis - Understands your code changes for better messages
- π« Automatic Ticket Integration - Links commits to Jira/GitHub/GitLab tickets
- π Conventional Commits - Perfect for semantic-release workflows
- π Dry-run Mode - Preview before committing
- β‘ Git Aliases - Lightning-fast shortcuts
npm install -g gitpπ Set your AI provider and API key:
# Choose your AI provider
gitp set-provider openai # π€ OpenAI GPT models
gitp set-provider google # π§ Google Gemini
# Add your API key
gitp set-api-key <your-api-key>
# Pick your model
gitp set-model gpt-5 # For OpenAI
gitp set-model gemini-2.5-pro # For GoogleGet lightning-fast commits with simple aliases:
gitp add-aliasπ You now have these super shortcuts:
git cβ π¬ Smart commitgit caβ π Add files + smart commitgit csβ π§ Smart commit with AI contextgit casβ π Add files + smart commit with AI context
Link your commits automatically to project tickets:
gitp set-default-ticket-for /my-project ABC-123Perfect for projects using semantic-release:
# Enable conventional commits for a project
gitp set-conventional-commits-for /my-awesome-project
# Remove if needed
gitp remove-conventional-commits-for /my-awesome-project
# See all configured projects
gitp list-conventional-commits⨠Results in commits like:
feat: ABC-123 add user authenticationfix: ABC-123 resolve login timeout issuechore: update dependencies
π¬ Generate and commit:
gitp commitπ Preview mode (no actual commit):
gitp commit --dry-runπ§ Smart AI analysis:
gitp commit --smartπ Auto-add files:
gitp commit --addβ‘ Power combo:
gitp commit --add --smart --no-verify| Flag | Description | Example |
|---|---|---|
--add |
π Auto-stage files | git ca |
--smart |
π§ AI context analysis | git cs |
--description |
π Include commit description | gitp commit --description |
--dry-run |
π Preview only | gitp commit --dry-run |
--no-verify |
βοΈ Skip git hooks | gitp commit --no-verify |
-y |
π Skip confirmation | gitp commit -y |
Before Gitp:
You: *stares at terminal for 5 minutes thinking of commit message*
With Gitp:
git ca # Add files + smart commitUse git cai to selectively stage files with an interactive interface:
With Smart AI Analysis:
git cas # Add + Smart AI commit with context analysisπ Processing (AI analyzing your changes):
β¨ Final Result:
π§ Quick fixes:
git c # Let AI figure out what you fixedπ§ͺ Feature development:
git cas # Auto-add files + smart context analysisπ Want to see first:
gitp commit --dry-run --smartβ‘ Ship it fast:
gitp commit --add -y # No confirmation needed# Set once per project
gitp set-default-ticket-for /work/api-service TICKET-123
# Every commit gets prefixed automatically
git c
# β "feat: TICKET-123 add user profile endpoints"π€ Tired of:
- Spending minutes thinking of commit messages?
- Writing generic "fix stuff" commits?
- Forgetting to mention important changes?
- Inconsistent commit message formats?
β Get instead:
- π Lightning fast commits with AI
- π Meaningful messages that actually describe your changes
- π― Consistent formatting across your team
- π§ Smart context understanding of your code
- π Zero learning curve - works with your existing git workflow
Found a bug or want a feature? We'd love your help!
- π΄ Fork the repo
- π Create your feature branch
- π» Make your changes
- π Use
git casto commit (dogfooding!) - π€ Push and create a PR
MIT License - feel free to use in your projects! π
Made with β€οΈ for developers who value their time
Stop writing boring commit messages. Start using Gitp! π




