将 Visual Studio Code 用作编辑器
-
安装 Visual Studio Code(VS Code)。有关详细信息,请参阅 VS Code 文档中的 设置 VS Code。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "code --wait"
-
安装 Visual Studio Code(VS Code)。有关详细信息,请参阅 VS Code 文档中的 设置 VS Code。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "code --wait"
-
安装 Visual Studio Code(VS Code)。有关详细信息,请参阅 VS Code 文档中的 设置 VS Code。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "code --wait"
将 Sublime Text 用作编辑器
-
安装 Sublime Text。有关详细信息,请参阅 Sublime Text 文档中的 安装。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "subl -n -w"
-
安装 Sublime Text。有关详细信息,请参阅 Sublime Text 文档中的 安装。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
-
安装 Sublime Text。有关详细信息,请参阅 Sublime Text 文档中的 安装。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "subl -n -w"
将 Notepad++ 用作编辑器
-
从 https://notepad-plus-plus.org/ 安装 Notepad++。有关详细信息,请参阅 Notepad++ 文档中的 入门。
-
打开 终端终端Git Bash。
-
键入以下命令
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"