by jes5199 · 14y ago · 0 comments
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.
[alias]
git = !gitWAT? 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.
from the mouth of a vi user...