在Mac OS X上使用Git core.editor

Tan*_*ith 5 git macos text text-editor

如何更改Git的core.editor以启动Smultron等程序?

我能找到的只是终端编辑器或TextMate的示例.

epa*_*tel 7

你可以用Smultron打开一个文件 open

git config core.editor "open -nW -a Smultron"
Run Code Online (Sandbox Code Playgroud)

编辑

添加-nW了新的Smultron打开的参数并等待它关闭