Git Pilot

Your AI git assistant for the command line.

npm install -g @abhaydesu/git-pilot
Get started with docs

Supercharge Your Git Workflow

AI Commits

Generate conventional commit messages from your staged changes, with or without an intent.

Commit from Diff
Commit with Intent
Accept, Edit, or Abort

AI Commands

Translate plain English into precise, safe Git commands.

Git
Pilot
git pull
git reset
git branch

Smart Utilities

Maintain a clean and consistent repository with intelligent suggestions.

Generate Branch Name
Undo Last Action
Safe and Interactive
AI-Powered Commits
Git Pilot analyzes staged changes and drafts conventional, context-aware commit messages that fit your repo's style.
Magic Undo
Recover safely: `git pilot undo` suggests the cleanest command sequence to revert recent actions.
Intelligent Branching
Describe a feature in plain text and Git Pilot proposes a tidy, readable branch name following conventions.

AI powered analysis

fast

Natural language git

precise

Commit message crafting

consistent
Natural Language Commands
Translate plain English like “squash last 3 commits” into the exact Git commands you need — without guessing.

Summarizes very large diffs into concise, readable summaries that fit within limits.

smart truncation

Large Diff Summaries
For big commits, Git Pilot summarizes changes into compact, readable fragments suitable for commit messages or review notes.

End Git Friction

Stop memorizing commands and writing commit messages, just focus on code.

Powered by Gemini

Git Pilot's intelligence is driven by Google's Gemini. The API understands the nuances of your code changes which allows it to provide suggestions that are remarkably accurate and human.

Frequently Asked Questions

Common queries about Git Pilot and how it works