Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen finden Sie in unserer englischsprachigen Dokumentation.
Artikelversion: GitHub.com

Texteditoren mit Git verknüpfen

Verwenden Sie einen Texteditor, um Dateien mit Git zu öffnen und zu bearbeiten.

Inhalt dieses Artikels

Atom als Editor verwenden

  1. Install Atom. For more information, see "Installing Atom" in the Atom documentation.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ 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.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "code --wait"

Sublime Text als Editor verwenden

  1. Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "subl -n -w"

TextMate als Editor verwenden

  1. Install TextMate.
  2. Install TextMate's mate shell utility. For more information, see "mate and rmate" in the TextMate documentation.
  3. Open TerminalTerminalGit Bash.
  4. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "mate -w"

Atom als Editor verwenden

  1. Install Atom. For more information, see "Installing Atom" in the Atom documentation.
  2. Geben Sie den folgenden Befehl ein:
    $ 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.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "code --wait"

Sublime Text als Editor verwenden

  1. Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"

Notepad++ als Editor verwenden

  1. Install Notepad++ from https://notepad-plus-plus.org/. For more information, see "Getting started" in the Notepad++ documentation.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

Atom als Editor verwenden

  1. Install Atom. For more information, see "Installing Atom" in the Atom documentation.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ 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.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "code --wait"

Sublime Text als Editor verwenden

  1. Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
  2. Open TerminalTerminalGit Bash.
  3. Geben Sie den folgenden Befehl ein:
    $ git config --global core.editor "subl -n -w"

Menschliche Unterstützung einholen

Sie können das Gesuchte nicht finden?

Kontakt