Flight rules for git
What are “flight rules”?
A guide for astronauts (now, programmers using git) about what to do when things go wrong.
Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. […]
NASA has been capturing our missteps, disasters and solutions since the early 1960s, when Mercury-era ground teams first started gathering “lessons learned” into a compendium that now lists thousands of problematic situations, from engine failure to busted hatch handles to computer glitches, and their solutions.
— Chris Hadfield, An Astronaut’s Guide to Life.
Top level contents:
- Editing Commits
- Staging
- Unstaged Edits
- Branches
- Rebasing and Merging
- Stashing
- Miscellaneous Objects
- Tracking Files
- Configuration
- I’ve no idea what I did wrong
- Other Resources