* Move category to top-level doc set * Move doc set to the top and update short title * Undo package-lock changes * updated hardcoded refs in tests * Update test * Fix hardcoded link in test Co-authored-by: Sarah Schneider <sarahs@github.com>
4.9 KiB
4.9 KiB
title, intro, redirect_from, versions
| title | intro | redirect_from | versions | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Associating text editors with Git | Use a text editor to open and edit your files with Git. |
|
|
{% mac %}
Using Atom as your editor
- Install Atom. For more information, see "Installing Atom" in the Atom documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
- Type this command:
$ git config --global core.editor "atom --wait"
Using Visual Studio Code as your editor
- Install Visual Studio Code (VS Code). For more information, see "Setting up Visual Studio Code" in the VS Code documentation. {% data reusables.command_line.open_the_multi_os_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. {% data reusables.command_line.open_the_multi_os_terminal %}
- Type this command:
$ git config --global core.editor "subl -n -w"
Using TextMate as your editor
- Install TextMate.
- Install TextMate's
mateshell utility. For more information, see "mate and rmate" in the TextMate documentation. {% data reusables.command_line.open_the_multi_os_terminal %} - Type this command:
$ git config --global core.editor "mate -w"
{% endmac %}
{% windows %}
Using Atom as your editor
- Install Atom. For more information, see "Installing Atom" in the Atom documentation.
- Type this command:
$ git config --global core.editor "atom --wait"
Using Visual Studio Code as your editor
- Install Visual Studio Code (VS Code). For more information, see "Setting up Visual Studio Code" in the VS Code documentation. {% data reusables.command_line.open_the_multi_os_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. {% data reusables.command_line.open_the_multi_os_terminal %}
- Type this command:
$ git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
Using Notepad++ as your editor
- Install Notepad++ from https://notepad-plus-plus.org/. For more information, see "Getting started" in the Notepad++ documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
- Type this command:
$ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
{% endwindows %}
{% linux %}
Using Atom as your editor
- Install Atom. For more information, see "Installing Atom" in the Atom documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
- Type this command:
$ git config --global core.editor "atom --wait"
Using Visual Studio Code as your editor
- Install Visual Studio Code (VS Code). For more information, see "Setting up Visual Studio Code" in the VS Code documentation. {% data reusables.command_line.open_the_multi_os_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. {% data reusables.command_line.open_the_multi_os_terminal %}
- Type this command:
$ git config --global core.editor "subl -n -w"
{% endlinux %}