Article version: Enterprise Server 2.17
Associating text editors with Git
Use a text editor to open and edit your files with Git.
This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-05-23. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
Use a text editor to open and edit your files with Git.
$ git config --global core.editor "atom --wait"
$ git config --global core.editor "code --wait"
$ git config --global core.editor "subl -n -w"
mate
shell utility. For more information, see "mate and rmate" in the TextMate documentation.$ git config --global core.editor "mate -w"
$ git config --global core.editor "atom --wait"
$ git config --global core.editor "code --wait"
$ git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
$ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
$ git config --global core.editor "atom --wait"
$ git config --global core.editor "code --wait"
$ git config --global core.editor "subl -n -w"