Git, in plain English.

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
Read the docs
~/my-project

$

Four commands. Most of git.

The moments git slows you down, each one covered.

01git pilot commit

Commits that write themselves.

Conventional messages drafted from your staged diff.

02git pilot run

Plain English in, git out.

Describe it. Get the exact command, shown before it runs.

03git pilot branch

Branch names, handled.

A tidy type/description name from a short description.

04git pilot undo

A way back from anything.

Reads your reflog and suggests the safest reversal.

Commit

Commits that write themselves.
Conventional, every time.

Run one short command to draft a Conventional Commit message from staged changes. Review it, edit it, regenerate it or cancel before committing.

  • Reads staged changes
  • Add intent as ordinary words
  • Accept, edit, regenerate or abort

$git pilot add user authentication

✔ Reading staged changes

feat(auth): add user authentication

❯Accept

Run

Ask for what you want.
Get the exact command.

Stop searching for the right flag. Describe the outcome in plain English and Git Pilot answers with one precise command, displayed before it executes.

  • Plain English in
  • One precise command out
  • Nothing runs without you

$git pilot run "squash the last 3 commits"

Suggested command

git rebase -i HEAD~3

❯Run it

Undo

Made a mess?
Take it back, safely.

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.

  • Reads your reflog
  • Suggests the safest reversal
  • Commits, merges and rebases

$git pilot undo

Last action: commit 3f2a1c9 “wip”

git reset --soft HEAD~1

Your changes stay staged.

❯Accept

You describe. It suggests.
You decide.

Nothing runs without you

Every suggestion waits for Accept, Edit or Abort.

Your code isn’t stored

A diff is only used to generate the suggestion.

Free, on npm

Install in one line. The API is public for everyone.

Frequently asked
questions