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

Re: What I miss from Cogito...

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:25

"H. Peter Anvin" [off-list ref] writes:
Junio C Hamano wrote:
...
quoted
quoted
2. cg-restore

   Cogito separated "reset" and "restore".  This is a syntactic sugar
   issue, but having to type "git reset --hard -- path" makes me
   nervous, especially since hitting Enter at the wrong time could have
   serious and irrevocable consequences.
Why --hard?
To make it actually change the file in the working directory
(equivalent to the -f option in cg-restore.)
Then "git checkout HEAD -- 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