git rebase -i HEAD~3
Opens interactive editor to squash, fixup, reword, or drop the last 3 commits before pushing.
git rebase --abort # Or if finished: git reset --hard ORIG_HEAD
- Never rebase commits that have already been pushed to a shared main/staging branch.
- Use "fixup" or "squash" to clean up micro-commits.
Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to Use Git Command Explorer
- 1Select your desired Git operation (e.g. Interactive Rebase, Cherry Pick, or Worktree).
- 2Input parameters such as commit count, branch name, or commit hash.
- 3Review the generated command, safety risk level, and emergency undo command.
Safe History Modification
Every dangerous command includes git reflog instructions to help recover commits in case of accidental data loss.
Frequently Asked Questions
Enjoying Advanced Git Command Explorer & Safety Guide?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
SQL Formatter & Beautifier
Beautify, format, and indent messy SQL queries across MySQL, Postgres, SQLite in local memory
JWT Debugger & Decoder
Safely decode, verify, and inspect JSON Web Tokens (JWT) payload and headers in local memory
YAML to JSON Converter
Convert YAML to JSON and JSON to YAML bidirectionally with real-time validation
Developer & Tech Unit Converter
Convert Data Storage (KB/KiB, MB/MiB, GB/GiB), CSS units (px to rem), Length, Speed, and Temp