Oh, Ghit!

Oh, Ghit! Emergency git care

Emergency git care for the recently panicked.

Take a breath. Almost nothing in git is truly gone. The reflog remembers. The reflog always remembers.

BED 404 · YOUR-REPO 04:59 PM FRI
HEAD DETACHED
COMMITS/HR142
SYNC %67behind origin by 3
STASH47concerning
PUSH/PULL 120/80 MERGE CONF. 3 BLAME you
Fig. 1: A repository in distress. Treatable.

Triage desk

Where does it hurt?

Describe your symptoms. Be honest, we've seen worse. We've done worse.

Self-assessment

On a scale of 0 to 10, how bad is it?

    Overheard in the waiting room

    You are not alone.

    Discharge papers

    Aftercare instructions

    Patient
    You
    DOB
    Initial commit
    Allergies
    Rebase

    Tick each one off before you leave. The nurse is watching.