From: Sitaram Chamarty Date: Fri, 06 Feb 2009 14:14:17 GMT Subject: Re: Question about removing changes from the index Message-ID: In-Reply-To: On 2009-02-06, Gustav HÃ¥llberg wrote: > I'm wondering if there's anyone who can recommend a smart way to > "reset" the index entry for individual files to the contents of HEAD, > in effect, removing any previous change between HEAD and the index > (for those files). err.. 'git reset HEAD -- file'? The man page says "The second form with paths is used to revert selected paths in the index from a given commit, without moving HEAD."