Git Branch Name Generator
Turn a ticket number and description into a clean, valid git branch name like feature/PROJ-142-add-password-reset.
Open toolPick a task such as undoing a commit, renaming a branch or squashing, and get the exact git commands with explanations and danger warnings.
Choose what you want to do — create or rename a branch, undo commits while keeping your changes, revert a pushed commit, discard or unstage files, stash, cherry-pick, squash, rebase, tag a release, change the remote URL, bisect a bug and more — fill in names, and copy ready-to-run commands. Values are quoted for bash and zsh, so branch names and messages with spaces or quotes work.
Every recipe is labelled Safe, Rewrites history, or Can lose work. Risky ones show how to undo them (usually via git reflog or ORIG_HEAD) and a safer alternative, such as revert instead of reset for commits you’ve already pushed, or --force-with-lease instead of --force. Nothing is run; you copy the commands into your own terminal.
Your code or text
git 2.23+ commands, bash/zsh quoting
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Pick a task from the list.
Fill in the branch, commit or file names.
Read the warning and explanation, then copy the commands.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Fill in the branch, commit or file names.
Read the warning and explanation, then copy the commands.
Turn a ticket number and description into a clean, valid git branch name like feature/PROJ-142-add-password-reset.
Open toolBuild a .gitignore from language, framework, OS and editor templates, then test which paths it ignores.
Open toolQuote any text safely for bash (single, double, $'…' or minimal) and see how bash splits and expands a command line.
Open toolPreview a git diff or patch file as a readable unified or side-by-side view, with per-file added and removed line counts.
Open tool