git config mergetools - tfvc语法文档

时间:2017-06-17 13:01:46

标签: git git-config tfvc mergetool

我的.gitconfig(我从github获得了此代码,并且未记录/回答以下问题):

[merge]
    tool = vsdiffmerge
[mergetool]
    prompt = true
[mergetool "vsdiffmerge"]
    cmd = 'E:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/vsdiffmerge.exe' $REMOTE $LOCAL $BASE $MERGED //m
    keepbackup = false
    trustexistcode = true

[diff]
    tool = vsdiffmerge
[difftool]
    prompt = true
[difftool "vsdiffmerge"]
    cmd = 'E:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/vsdiffmerge.exe' $LOCAL $REMOTE //t
    keepbackup = false
    trustexistcode = true

1)//t是什么意思?我找不到相关文档。

2)// m"记录" here。我也会对//m的目的感兴趣。当我已经指定了四个参数时,为什么需要指定//m?这对我来说没有任何语法意义。

1 个答案:

答案 0 :(得分:1)

我在此期间找到了答案:

  

使用/ t开关在“ProvisionalTab”中打开比较