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

Re: [RFC/largely untested/PATCH] sha1_name: interpret ~n as HEAD~n

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:51:08

Junio C Hamano [off-list ref] writes:
"Michael J Gruber" [off-list ref] writes:
quoted
I meant "rebase -i", sorry. And in fact I mostly mean those cases where
I want to "amend" a commit which is not the top most one.
I also see myself getting tempted to say "rebase -i -2" every once in a
while; it seems to go well with "log -2" especially when the history is
linear.
I like that. As easy to type (or more, depending on the keyboard) as ~2,
but no nasty interaction with the shell. OTOH, that would be a
special-case for rebase only (i.e. doesn't make "git show HEAD~2" easier
to type), but that's the most common case.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help