Re: git reset --hard include/linux/config.h
- From
Sam Ravnborg <sam@ravnborg.org>
- Date
- Jul 5, 2006, 17:14 UTC
- 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:
Show 5 quoted lines
> On 7/5/06, Sam Ravnborg <sam@ravnborg.org> 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