Git Command Builder
Pick a task — undo a commit, rename a branch, squash, cherry-pick, recover a deleted branch, clean up, rebase — and get the exact git command with your branch, file or commit filled in, a plain-English note, a danger flag for destructive ones, and a flag-by-flag explanation.
What this tool does
Choose a task from the list and it shows the exact git command (or sequence of commands) to run, with your branch name, file path or commit hash substituted in. Each task has a short note explaining what it does, and destructive tasks are flagged.
Categories
Undo & recover, branches, staging & commits, stash, remotes & sync, history & inspection, rewriting history, and cleanup. Use the search box to filter.
The explanation panel
Every token in the generated command is annotated — what the subcommand does and what each flag changes — so you understand the command before you paste it.
Destructive commands
Commands that permanently discard work (reset --hard,
clean -fd, push --force) are marked with a
warning. Most "lost" work is actually recoverable from the reflog for
about 90 days — there is a task for that too.
Privacy
Nothing runs and nothing is uploaded. The tool only assembles text.