Git command helper
Search by what you want to do — “undo last commit”, “delete branch”, “squash”, “reset to remote” — and get the exact git command, a plain-English note, and a one-click copy. Risky commands are flagged.
What do you want to do?
Filter
No goal matches that. Try a simpler word like “undo”, “branch”, “stash” or “remote”.
Everything runs in your browser. No upload, no sign-up.
How it works
STEP 1
Describe your goal
Type what you are trying to do in plain words — like “undo last commit” or “rename branch”. The list filters as you type.
STEP 2
Read the command and the why
Each goal shows the exact git command and a short plain-English explanation, with a warning if it rewrites history or deletes work.
STEP 3
Copy and run it
Click copy, paste it into your terminal, and replace any placeholder like <branch> or N with your real value.