Using Visual Studio Code as your editor
-
Install Visual Studio Code (VS Code). For more information, see "Setting up VS Code" in the VS Code documentation.
-
Open Terminal .
-
Type this command:
git config --global core.editor "code --wait"
Using Sublime Text as your editor
-
Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
-
Open Terminal .
-
Type this command:
git config --global core.editor "subl -n -w"