Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC/PATCH 1/2] reset: learn to reset to tree

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:27

Martin von Zweigbergk [off-list ref] 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"?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help