Discharge papers
Aftercare instructions
Tick each one off before you leave. The nurse is watching.
Emergency git care for the recently panicked.
Take a breath. Almost nothing in git is truly gone. The reflog remembers. The reflog always remembers.
Triage desk
Describe your symptoms. Be honest, we've seen worse. We've done worse.
No matching condition on file. Try fewer words, or run git status and search for what it says.
Self-assessment
Overheard in the waiting room
It worked on my machine.Bed 2 · admitted with a colleague who says it doesn't
I only ran one command.Bed 7 · the command was
git clean -fdxWho is stash@{46} and why do they have my code?Bed 11 · long-term residentI'll just rebase real quick.Bed 3 · admitted 9:02 AM, still here
Why does the commit message say “asdf”? Who wrote this?Bed 9 · ran
git blame, saw own nameI'm not a merge conflict, I'm a merge discussion.Bed 5 · in denial
Discharge papers
Tick each one off before you leave. The nurse is watching.
Overhead page · all staff
Bed 404 · git push --force in progress
Next time, use git push --force-with-lease. It checks for a pulse first.