You can also achieve the same effect by placing the following in your .gitconfig:
[alias]
git = !git
Re:WAT Driven Development
by ramblerman on Thursday March 15, 2012 @05:34AM
(#3707570)
" It's doing it wrong to have to model the state of your editor in your head "
WAT? By that logic you don't know if you are in insert mode half the time, and start typing random characters all over the place.
Never stay in insert mode unless you are typing! Insert mode is a brief experience. itype type type<esc>
Re:WAT Driven Development
by jasonwatkinspdx on Wednesday March 14, 2012 @08:52PM
(#3706222)
"It's ... wrong to have to model the state of your editor in your head."
from the mouth of a vi user...
I have a similar habit of typing "git " in my terminal, and then getting distracted while I think through what I'm trying to do, and then just typing "git " again. Rather than punish myself, I just wrote a script called git-git. https://github.com/jes5199/git-git so I can type "git git git push" and it works.