LWN.net Logo

Simplified porcelains?

Simplified porcelains?

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.)


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds