From: Junio C Hamano Date: Thu, 29 Nov 2012 19:36:45 GMT Subject: Re: [RFC/PATCH 1/2] reset: learn to reset to tree Message-ID: <7vmwy0p5f6.fsf@alter.siamese.dyndns.org> In-Reply-To: Martin von Zweigbergk writes: > Would the correct fix be to > first make "git reset --hard -- $path" work (*sigh*)? I have never > understood why that doesn't (shouldn't) work. What does it even mean, even when you are on an existing commit, to hard reset partially? Perhaps you looking for "git checkout $tree -- $path"?