Thread (1 message) 1 message, 1 author, 2018-08-17

Re: [PATCH/RFC] commit: add short option for --amend

From: Junio C Hamano <hidden>
Date: 2018-08-17 15:31:37

Duy Nguyen [off-list ref] writes:
The alternative is -A or -M which may be easier associated with
--amend.
I would be confused to mistake that "git commit -A $args" would do
something similar to "git add -A && git commit $args".

I do my fair share of amends during the day, and I've never felt the
need for a short-hand, but perhaps that is just me.  I am wondering
if "-E" (stands for 'edit', not 'A or M are out, and the next letter
in amend is E') is understandable and memorable enough---after all,
it is "editing" an existing commit, and the edit is done in a big
and different way than the existing "commit --edit".

But perhaps that reasoning is a bit too cute.  I dunno.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help