小编Jes*_*ica的帖子

在 Mac 中将 Visual Studio Code 与 Git 相关联

我想将我的默认 git 编辑器配置为 Visual Studio Code,但在配置后出现以下错误,然后使用它:

username ~ $ git config --global core.editor "code --wait"
username ~ $ git config --global -e
hint: Waiting for your editor to close the file... code --wait: code: command not found  
error: There was a problem with the editor 'code --wait'.
Run Code Online (Sandbox Code Playgroud)

我不知道如何解决它...你知道我该怎么做吗?

谢谢!!

git macos visual-studio-code

7
推荐指数
1
解决办法
2848
查看次数

标签 统计

git ×1

macos ×1

visual-studio-code ×1