How can I change the core.editor of Git to start a program such as Smultron?
All I can find are examples for terminal editors or TextMate.
You can open a file in Smultron with open
Example
git config core.editor "open -nW -a Smultron"
EDIT
Added the -nW
parameters to have a new Smultron open and wait for it to close
You only see terminal and TextMate examples because TextMate provides a terminal program to interface with it from the command line. If Smultron provides a similar program, you can use it the same way you use "mate." If not, then you can't make Smultron work with core.editor.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.