On Mon, 22 Mar 2010, Brian Gernhardt wrote: > > On Mar 22, 2010, at 1:16 AM, Brian Gernhardt wrote: > > > If you want to abort committing while editing the message, delete the entire message (in Vim: "0dG:wq^M") and git will reply "Aborting commit due to empty commit message." > > Oops. Obviously I meant "ggdG:wq^M". > > Also, a quick search of :help and testing reveals that ":cq" causes Vim to exit with non-zero status which will cause git to abort the commit. thanks for the pointer this is indeed very helpful. :) kept hiting that bug in stressy situations, good to know a way out. -- 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