- Home
- Skills
- Productivity
- Git Rescue: Undo Git Mistakes Without Panic
More screenshots
Works with the AI Agents you already use
Git Rescue: Undo Git Mistakes Without Panic
Recover lost commits, wrong-branch work, bad merges and rebases safely: backup first, then the least destructive fix.
$9
Git Rescue: Undo Git Mistakes Without Panic
Example session with this skill installed
I did a rebase and now half my commits are gone. Help!
- Read your context and instructions
- Compiled the git rescue
First, no changes yet. Reading the reflog... Your old branch tip was a3f9c21 before the rebase.
Safety net: creating backup/rescue-1130 at your current position (a branch costs nothing).
Fix: git branch recovered/feature a3f9c21 creates a branch at your old commits. This is reversible. Shall I run it and show you the diff?
Connects securely to your tools. The creator never sees your data.
About this skill
Broke something in Git? Breathe. It is almost always recoverable. This skill walks you through a calm, reversible rescue: look first, back up, diagnose from the reflog, fix with the least destructive command, and verify.
Fixes 14 classic disasters
- Committed on the wrong branch
- Undo the last commit but keep the work
- Undo something already pushed (safely, with revert)
- Lost commits after reset, rebase, amend or checkout
- Deleted a branch
- Merge or rebase went wrong halfway
- Messy merge conflicts
- Detached HEAD with work worth keeping
- Wrong commit message or forgotten file
- Restore one file from an earlier version
- Pushed a secret or a huge file (rotate first, then clean up)
- Push rejected because the branch diverged
Safety built in
- Creates a backup branch before touching anything
- Explains each command in one sentence, and whether it can be undone, before running it
- Asks explicit confirmation before anything that rewrites history or discards work
- Never rewrites shared branches; uses revert there
- Tells you plainly when Git cannot help (never-saved changes, expired reflog)
You also learn the one habit that would have prevented it.
En español: recupera commits perdidos y deshace errores de Git sin riesgo. Responde en tu idioma.
Git cannot recover changes that were never staged, committed or stashed, files that were ignored, or commits whose reflog entries have expired; the skill says so plainly and points to editor history or backups. Rewriting remote history always needs your explicit confirmation.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 days ago
Requires