Skip to content

feat: Git Command Builder & Dilemma Solver — interactive visual helper for undoing, branching, and rebasing #100

Description

@ajithakdev

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersnew toolA new tool addition to the toolkit

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions