1
0
mirror of synced 2026-01-01 09:04:46 -05:00
Files
docs/translations/ru-RU/content/github/using-git/associating-text-editors-with-git.md
Chiedo John c116efe725 Crowdin translations (translation-batch-1604415979) (#16312)
* New Crowdin translations by Github Action

* Revert broken translated files to English

* Revert broken translations

* Revert broken translations

* Revert more broket translations

* Revert broken translation

* Increase Node memory limit for running Jest

* Allow Node to use more memory for Jest

* Increase Node memory limit for running Jest

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-11-03 16:15:55 -05:00

4.7 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.
/textmate/
/articles/using-textmate-as-your-default-editor/
/articles/using-sublime-text-2-as-your-default-editor/
/articles/associating-text-editors-with-git
free-pro-team enterprise-server github-ae
* * *

{% mac %}

Using Atom as your editor

  1. Install Atom. For more information, see "Installing Atom" in the Atom documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
  2. Type this command:
$ git config --global core.editor "atom --wait"

Using Visual Studio Code as your editor

  1. 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 %}
  2. Type this command:
$ git config --global core.editor "code --wait"

Using Sublime Text as your editor

  1. Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
  2. Type this command:
$ git config --global core.editor "subl -n -w"

Using TextMate as your editor

  1. Install TextMate.
  2. Install TextMate's mate shell utility. For more information, see "mate and rmate" in the TextMate documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
  3. Type this command:
$ git config --global core.editor "mate -w"

{% endmac %}

{% windows %}

Using Atom as your editor

  1. Install Atom. For more information, see "Installing Atom" in the Atom documentation.
  2. Type this command:
$ git config --global core.editor "atom --wait"

Using Visual Studio Code as your editor

  1. 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 %}
  2. Type this command:
$ git config --global core.editor "code --wait"

Using Sublime Text as your editor

  1. Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
  2. Type this command:
$ git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"

Using Notepad++ as your editor

  1. 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 %}
  2. 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

  1. Install Atom. For more information, see "Installing Atom" in the Atom documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
  2. Type this command:
$ git config --global core.editor "atom --wait"

Using Visual Studio Code as your editor

  1. 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 %}
  2. Type this command:
$ git config --global core.editor "code --wait"

Using Sublime Text as your editor

  1. Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation. {% data reusables.command_line.open_the_multi_os_terminal %}
  2. Type this command:
$ git config --global core.editor "subl -n -w"

{% endlinux %}