From: Junio C Hamano Date: Mon, 09 Jun 2014 23:28:31 GMT Subject: Re: Git reset --hard with staged changes Message-ID: In-Reply-To: Pierre-François CLEMENT writes: > Hm, I didn't think of "git apply --index"... Makes sense for this > special use, but I'm not sure about the other use cases. Try merging another branch that tracks a file your current branch does not know about and ending up with conflicts during that merge. Resetting the half-done result away must remove that new path from your working tree and the index.