by michaelbuckbee · 15y ago · 0 comments
1. I write better commit messages when I use them because they spellcheck and it just _seems_ like I ought to use proper punctuation and capitalization.
2. Having a one keystroke / button diff from the previous version offers a good sanity check to myself and helps me catch stupid errors from being committed to source control.
That being said, I still usually end up using a mix of the GUI and command line for some of the other features.
To me, git GUI's are like IDE's: they make you more productive, so you'd be a fool to ignore them.
export GIT_EDITOR='mvim -f -c"au VimLeave * !open -a Terminal"'
It nicely returns focus to the terminal window that launched MacVim (i.e. Gvim for OSX) after you save and close the commit message.