代码之家  ›  专栏  ›  技术社区  ›  steel

Visual Studio代码-在新工作区中打开Git编辑器

  •  1
  • steel  · 技术社区  · 8 年前

    在我的地方 .gitconfig ,我可以轻松地将Git编辑器设置为Visual Studio代码。

    [core]
      editor = code --wait
    

    这将在当前工作区中打开编辑器。是否有任何方法将其配置为在新工作区中打开?

    1 回复  |  直到 8 年前
        1
  •  3
  •   Derek Brown Onga Leo-Yoda Vellem    8 年前

    我认为 -new-window 旗子会起作用的。 (Casually mentioned here)