Git Rescue & Helper
Search plain-language Git recovery commands, build Conventional Commits interactively, and compose multi-stack .gitignore templates.
Screenshots
Key Features
Search Git recovery commands for undoing commits, recovering branches, and fixing mistakes
git rescue / undo commit / git reset / git revert / git recovery
Interactively build structured Conventional Commits messages
conventional commit / commit builder / cz / git commit
Generate .gitignore files by combining tech stacks and operating systems
gitignore / generate gitignore / ignore file
Overview & Usage Guide
Search Git undo and recovery commands in plain language, generate Conventional Commits messages, and compose .gitignore files by tech stack. The plugin only generates text to copy—it never executes Git commands.
Usage
- Commands: Three commands open each mode directly, or you can switch modes from the right side of the search bar:
- Plain-language lookup for Git recovery commands (
git rescue,undo commit,git reset,git revert); - Interactive Conventional Commits message builder (
conventional commit,commit builder,cz); .gitignoregenerator combining tech stacks and operating systems (gitignore,generate gitignore).
- Plain-language lookup for Git recovery commands (
- Git Rescue: Covers undoing the latest commit while keeping changes, amending missed files or commit messages, recovering a deleted branch or code lost before
reset --hard, fixing commits made to the wrong/main branch, undoing a messypull/merge, and reverting commits already pushed to a shared branch.Entercopies the primary command, and⌘/Ctrl+Entercopies the full guide (every line starts with#so pasting into a terminal will not execute automatically). Choose the option that fits your situation—do not run all alternatives sequentially. - Undo Safety: When undoing an unpushed latest commit, the primary command creates a
backup/before-undobranch before soft resetting; if that branch already exists, the command stops so you can pick a new name. The backup branch only preserves committed changes—back up uncommitted files separately. - Commit Builder: Enter your change summary in the search box (
scope:summaryis supported using an ASCII colon; if the text before the colon contains spaces or is a URL, the whole input is treated as the summary, and prefixes likefix:summaryhave the prefix stripped). Select a commit type and pressEnterto copy the fullgit commit -mcommand, or⌘/Ctrl+Enterto copy just the commit message text. If no summary is entered,Entercopies only the type prefix (such asfeat:). Generated commands target Bash, zsh, and Git Bash on Windows; PowerShell and CMD users should copy the message text and commit via their terminal or Git GUI. .gitignoreGenerator: Press⌘/Ctrl+Enterto toggle stacks (Node, React / Vue, Python, Java, Go, Rust, macOS, Windows, IDE). By default, only your current OS (macOS or Windows) and IDE are selected. The right pane previews the deduplicated result; pressEnterto copy all. The Rust template keepsCargo.lock(per Cargo's recommendation for binaries), the Java template keeps Gradle/Maven wrapper JARs, and the Go template does not ignorevendor/; append rules manually if needed.- Notes: Use revert commits for history already pushed to shared branches. Aborting an in-progress merge conflict and undoing a completed merge are different operations—consult the official Git documentation for exact behavior.
Platforms & Requirements
- Supported: Windows, macOS
Network & Data
- Offline only; all content is generated locally.
Frequently Asked Questions (FAQ)
How do I install and launch "Git Rescue & Helper" in ZTools?
Open the Plugin Marketplace inside ZTools Workbench, search for "Git Rescue & Helper", and install it. Then type its name in the launcher bar to open it.
Is "Git Rescue & Helper" free? Which platforms are supported?
Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.