My Cheatsheets

Git Recovery Cheatsheet

(Based on Justin Hileman’s Flowchart) Git recovery flowchart

Starting Point

"So you have a mess on your hands"


1. Uncommitted Mess


2. Accidental Commit


3. History Cleanup


4. Golden Rules


Common Commands Summary