From: Andy Parkins Date: Fri, 27 Oct 2006 08:01:22 GMT Subject: Re: Restore a single file in the index back to HEAD Message-ID: <200610270901.25091.andyparkins@gmail.com> In-Reply-To: <20061027073834.GC29057@spearce.org> On Friday 2006 October 27 08:38, Shawn Pearce wrote: > git ls-tree HEAD oops/file1 | git update-index --index-info > git ls-tree -r HEAD | git update-index --index-info Absolute gold. Exactly what I wanted. Thanks so much. Andy -- Dr Andy Parkins, M Eng (hons), MIEE