From: Sam Ravnborg Date: Wed, 05 Jul 2006 17:14:06 GMT Subject: Re: git reset --hard include/linux/config.h Message-ID: <20060705171406.GA17834@mars.ravnborg.org> In-Reply-To: <81b0412b0607051005s59315296tfb68345959a14c1b@mail.gmail.com> On Wed, Jul 05, 2006 at 07:05:27PM +0200, Alex Riesen wrote: > On 7/5/06, Sam Ravnborg wrote: > >Also what is the right command to bring back a file to the original > >state after doing some modifications that was not needed anyway? > > git checkout HEAD include/linux/config.h Thanks! By the way - the modifications to include/linux/config.h was not lost. But git apperantly managed to be fooled to think the file was up-to-date. Sam