Re: git reset --hard w/o touching every file
- From
Edward Z. Yang <edwardzyang@thewritingpot.com>
- Date
- Nov 1, 2008, 20:03 UTC
- Message-ID
- <geicn8$ss8$1@ger.gmane.org>
- In-Reply-To
- <20081101110529.GC3819@artemis.corp>
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.