Re: Restore a single file in the index back to HEAD
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Oct 27, 2006, 08:01 UTC
- 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