On 12/6/2011 2:50 PM, Viresh Kumar wrote: > On 12/6/2011 2:41 PM, Johannes Sixt wrote: >> Am 12/6/2011 9:23, schrieb Viresh Kumar: >> $ git commit --amend -a -C HEAD >> >> But let's count keystrokes (after -a): >> >> <BLANK>-<SHIFT>C<BLANK>HEAD<ENTER> >> 10 keystrokes (more if you release SHIFT before D) >> >> But if vi pops up you have: >> >> <ENTER><SHIFT>ZZ >> 4 keystrokes >> >> Where is the advantage of the option? >> > > Thanks guys. > > @Johannes: You are right but, i will make an alias for the entire command. > So keystrokes are same for me. :) > There is one more benefit, we don't have to wait for git. We can simply switch to some other window and work. And can write further command on the same window, in the time git processes commit --amend. -- viresh -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html