让git bash将vscode作为默认编辑器


只需要在git三个可配置区域(--local --global --system)中的任意一个的配置文件中(.gitconfig)中, 加入以下代码:

[core]
    editor = code --wait