From: Viresh Kumar Date: Tue, 06 Dec 2011 09:20:28 GMT Subject: Re: Query on git commit amend Message-ID: <4EDDDE5C.6040200@st.com> In-Reply-To: <4EDDDC38.8080108@viscovery.net> 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): > > -CHEAD > 10 keystrokes (more if you release SHIFT before D) > > But if vi pops up you have: > > 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