Re: Query on git commit amend
- From
- Viresh Kumar <viresh.kumar@st.com>
- Date
- Dec 6, 2011, 09:20 UTC
- Message-ID
- <4EDDDE5C.6040200@st.com>
- In-Reply-To
- <4EDDDC38.8080108@viscovery.net>
On 12/6/2011 2:41 PM, Johannes Sixt wrote:
Show 15 quoted lines
> 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. :)
-- viresh