← Prompt Library / Engineering

Engineering

Git Mess Rescue

Get out of a git mess safely: describe what happened, get the recovery commands with what each does, and the safety snapshot first.

Rescue my git situation: {{mess}} (what I did, what I meant to do, what state things are in now — branch, uncommitted work, pushed or not?). Rules: FIRST the safety snapshot (the commands to preserve current state before any fix — usually a backup branch or stash; reflog reassurance), then the recovery path with each command explained BEFORE I run it (what it does, what changes, point of no return flagged), the pushed-vs-local fork in the plan (rewriting shared history needs the team-coordination warning), verification steps between commands (how I know it worked before proceeding), and the prevention note: the habit or alias that avoids this mess class entirely.

Fields like {{ this }} are placeholders — replace them with your own details, or let Aria ask you for them.

git recovery version-control

Run this prompt with your real data

This prompt runs with Aria connected to your email, files, CRM and 40+ other services — and you can schedule it to run automatically.

Start Free Week

More Engineering prompts

Pragmatic Code Reviewer

Review a diff for correctness, security, and readability issues.

Explain This Code

Get a plain-English walkthrough of unfamiliar code.

Write Unit Tests

Generate thorough unit tests for a function.

Debug Assistant

Diagnose an error systematically: likely causes ranked with reasoning, the cheapest test for each, a...

Regex Builder

Build a regular expression from a plain-English requirement — explained token by token, tested again...

SQL From a Question

Turn a plain-English data question into a working SQL query — with the assumptions stated, a readabl...