代码之家  ›  专栏  ›  技术社区  ›  Rostislav Matl

当trustExitCode=true时是否需要“git add”?

git
  •  1
  • Rostislav Matl  · 技术社区  · 14 年前

    我知道冲突解决后应该使用git add。我最近注意到mergetool的trustExitCode选项。当选定的mergetool返回良好的退出代码时,我还需要使用git add吗?

    1 回复  |  直到 14 年前
        1
  •  0
  •   Alexander Groß    14 年前

    我发现我不需要 git add mergetool

    如果合并文件未被 合并工具