About Git Command Builder
Choose what you are trying to do, fill in the fields that apply, and copy the generated commands. GitCircle adds short notes for destructive steps (hard reset, remote branch delete) and common follow-ups (reflog, stash pop).
What to enter
| Task | Main input | Also use |
|---|---|---|
| Undo last commit | (leave empty) | Undo mode |
| Rename branch | New name | Branch = old name if not checked out |
| Delete remote branch | Branch name | Remote |
| Rebase branch | Onto (e.g. main) |
Branch = branch to rebase (optional) |
| Stash changes | Stash message | Stash untracked |
| Recover deleted commit | Commit sha (optional) | Leave empty to show reflog steps |
| Change remote URL | New URL | Remote |
How to use it
- Select I want to and set options.
- Click Build, or press ⌘/Ctrl + Enter.
- Run commands in your repo terminal — review notes before
--hardor--delete.