Posted Aug 5, 2008 15:38 UTC (Tue) by nix (subscriber, #2304)
In reply to: Simplified porcelains? by epa
Parent article: Git Magic
'git checkout HEAD' fails unless your tree is clean. 'git reset --hard HEAD' will throw your
changes away, but that's fairly difficult to type unless you know what you're doing. ('git
stash' is worth looking at if you're often trying to move around with uncommitted changes in
your tree.)