Re: Mysterious junk in file.... "not commited yet"
- From
Howard Miller <howard@e-learndesign.co.uk>
- Date
- Apr 5, 2010, 19:29 UTC
- Message-ID
- <x2n26ae428a1004051229hf238c770tc4875df83e96a639@mail.gmail.com>
- In-Reply-To
- <vpq8w91r9bo.fsf@bauges.imag.fr>
> Plain "git checkout" will read from the index, while "git checkout > HEAD" takes the last commited version.
Cool.... that's the bit I hadn't appreciated. I was (falsely) under the impression that 'git checkout' grabbed the last committed version. Suitably educated... thanks!