Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
GitHub Docs

Associating text editors with Git

Use a text editor to open and edit your files with Git.

Platform navigation

Using Visual Studio Code as your editor

  1. InstallVisual Studio Code (VS Code). For more information, seeSetting up VS Code in the VS Code documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "code --wait"
  1. InstallVisual Studio Code (VS Code). For more information, seeSetting up VS Code in the VS Code documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "code --wait"
  1. InstallVisual Studio Code (VS Code). For more information, seeSetting up VS Code in the VS Code documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "code --wait"

Using Sublime Text as your editor

  1. InstallSublime Text. For more information, seeInstallation in the Sublime Text documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "subl -n -w"
  1. InstallSublime Text. For more information, seeInstallation in the Sublime Text documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
  1. InstallSublime Text. For more information, seeInstallation in the Sublime Text documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "subl -n -w"

Using Notepad++ as your editor

  1. Install Notepad++ fromhttps://notepad-plus-plus.org/. For more information, seeGetting started in the Notepad++ documentation.

  2. OpenTerminalTerminalGit Bash.

  3. Type this command:

    git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

[8]ページ先頭

©2009-2025 Movatter.jp