Commits that write themselves.
Conventional messages drafted from your staged diff.
Git Pilot turns a sentence into the right commit, branch name or command, then waits for your OK before anything runs.
npm i -g @abhaydesu/git-pilot$
The moments git slows you down, each one covered.
Conventional messages drafted from your staged diff.
Describe it. Get the exact command, shown before it runs.
A tidy type/description name from a short description.
Reads your reflog and suggests the safest reversal.
Commit
Run one short command to draft a Conventional Commit message from staged changes. Review it, edit it, regenerate it or cancel before committing.
$git pilot add user authentication
✔ Reading staged changes
feat(auth): add user authentication
❯Accept
Run
Stop searching for the right flag. Describe the outcome in plain English and Git Pilot answers with one precise command, displayed before it executes.
$git pilot run "squash the last 3 commits"
Suggested command
git rebase -i HEAD~3
❯Run it
Undo
The safety net. Git Pilot reads your reflog and suggests the safest way to reverse your last significant action: a bad commit, a merge or a rebase.
$git pilot undo
Last action: commit 3f2a1c9 “wip”
git reset --soft HEAD~1
Your changes stay staged.
❯Accept
Every suggestion waits for Accept, Edit or Abort.
A diff is only used to generate the suggestion.
Install in one line. The API is public for everyone.