From: Matthieu Moy Date: Fri, 06 Feb 2009 14:11:19 GMT Subject: Re: Question about removing changes from the index Message-ID: In-Reply-To: Gustav HÃ¥llberg writes: > 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). Isn't "git reset -- path" what you want? Or perhaps "git checkout HEAD -- path" if you also want to reset the file content. -- Matthieu