Associating text editors with Git
Use a text editor to open and edit your files with Git.
You can set your default editor in Git to use Atom if you have installed the editor .
Install Atom.
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "atom --wait"
You can set your default editor in Git to use Sublime Text 3.
Install Sublime Text 3 .
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "subl -n -w"
You can set your default editor in Git to use Textmate if you have installed the mate
command.
Install mate
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "mate -w"
You can set your default editor in Git to use Atom if you have installed the editor .
Install Atom.
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "atom --wait"
You can set your default editor in Git to use Sublime Text 3.
Install Sublime Text 3 .
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
You can set your default editor in Git to use Notepad++ if you have installed the editor .
Install Notepad++.
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
You can set your default editor in Git to use Atom if you have installed the editor .
Install Atom.
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "atom --wait"
You can set your default editor in Git to use Sublime Text 3.
Install Sublime Text 3 .
Open Terminal Terminal Git Bash the terminal .
Type this command:
$ git config --global core.editor "subl -n -w"