From: Sitaram Chamarty Date: Wed, 30 Apr 2008 11:37:40 GMT Subject: difference between "git reset --hard" and "git checkout -f" Message-ID: <2e24e5b90804300437t39ac16a6ga3cbe0b91d7e5565@mail.gmail.com> I have two questions: (1) as in the subject line, what's the difference between these two commands? (I'm talking about those exact commands, not variations). I am unable to see any. (2) shouldn't one of these have an option to throw away untracked files also, to get to a pristine HEAD-eqvt state? Or is it better to force user to use git clean separately for that? Thanks, Sitaram