工作這是我在我的〜/ .bashrcGIT_EDITOR不是的MacVim
export GIT_EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim -g '
當我發出
git commit
然後我得到的MacVim編輯器,但在命令行中我看到這個消息
$ git commit
Aborting commit due to empty commit message.
如果我使用變化GIT_EDITOR使用TextMate的那麼事情做工精細
export GIT_EDITOR='/usr/local/bin/mate -w'
我不想使用textmate。我想使用macvim。我正在使用mac並使用bash。
這就像魅力。謝謝 – 2011-01-19 16:29:16
當然!非常感謝。 – 2012-07-04 20:06:18