Subject: Re: git reset --hard w/o touching every file

From: "Edward Z. Yang" <[email-masked]>
Date: Sat, 01 Nov 2008 16:03:50 -0400

Pierre Habouzit wrote:
> git checkout HEAD -- <list of the files>

What if I do not know a priori which files *do* need to be updated? Is
there a command that I can get this information from? Also, I may not
necessarily be checking out HEAD.