Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: master^ is not a local branch -- huh?!?

From: Ron Garret <hidden>
Date: 2016-06-15 22:48:08

In article [ref],
 Junio C Hamano [off-list ref] wrote:
Sverre Rabbelier [off-list ref] writes:
quoted
On Fri, Jan 29, 2010 at 22:24, Ron Garret [off-list ref] wrote:
quoted
Yes, I read that.  But what I'm trying to do is not just *look* at the
history, I want to restore my working tree to a previous version.  The
"Exploring History" section of the docs doesn't say how to do that.
Do you want to restore your working tree only, or also throw away the
history? If the former, you could look at 'git revert',...
I think he wanted to check paths out of a commit and the set of paths
happened to be "everything".

IOW, "checkout $commit ."
Yes!!!  That's it exactly!

rg
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help