Summary
Add an interactive Git Command Builder and Dilemma Solver (inspired by 'Oh Shit, Git!?!' and visual git explorers) that helps developers formulate exact git commands for everyday scenarios without searching Stack Overflow.
Motivation
Even experienced developers regularly pause to remember exact git incantations for scenarios like:
- Undoing the last commit while keeping changes staged.
- Renaming a local and remote branch.
- Discarding untracked files vs staged changes.
- Cherry-picking a range of commits.
- Creating an empty orphan branch.
- Reverting a pushed commit safely.
Features
- Scenario Tree:
- Categorized problem picker: Undo & Recovery, Branching & Merging, Stashing & Worktrees, History & Inspection, Remote Sync.
- Interactive Parameter Form:
- Inputs for branch names, commit hashes, or file paths with real-time command syntax rendering.
- Copy & Explain:
- One-click copy for the exact command block.
- Plain-English explanation of what each flag does (e.g.
--soft vs --hard, --force-with-lease).
- Warning badges for destructive actions.
- Searchable Quick Filter: Fast search by scenario keyword (e.g., 'undo commit', 'squash', 'amend author').
Engineering & Privacy
- 100% Client-Side: Static decision graph and template generator. Zero external requests.
- Zero Dependencies: Pure TypeScript.
Summary
Add an interactive Git Command Builder and Dilemma Solver (inspired by 'Oh Shit, Git!?!' and visual git explorers) that helps developers formulate exact git commands for everyday scenarios without searching Stack Overflow.
Motivation
Even experienced developers regularly pause to remember exact git incantations for scenarios like:
Features
--softvs--hard,--force-with-lease).Engineering & Privacy