V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
yazoox
V2EX  ›  问与答

请问一下,一般 mergetool 里面,$BASE, $LOCAL, $REMOTE 都对应的是什么文件?

  •  
  •   yazoox · 2020-12-14 11:03:42 +08:00 · 597 次点击
    这是一个创建于 1221 天前的主题,其中的信息可能已经有所发展或是发生改变。
    cmd = 'C:/Program Files/KDiff3/kdiff3.exe' \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"
    

    如上所示,Kdiff3 的配置。这三个都对应的是什么文件? 我看有的 tool,比如,beyondcompare,好像含义有点不一样。我不知道是不是设置上述参数时,配置错了......

    谢谢!

    1 条回复    2020-12-23 14:54:31 +08:00
    yazoox
        1
    yazoox  
    OP
       2020-12-23 14:54:31 +08:00
    refer to:
    https://stackoverflow.com/questions/20381677/in-a-git-merge-conflict-what-are-the-backup-base-local-and-remote-files-that

    ```
    the words LOCAL/REMOTE is somehow misleading, makes me thinking they are referring to "my changes"/"remote changes", but actually usually in context of "merge into master", LOCAL is the target branch which is other's modification, and REMOTE is the source branch which is my modifications.
    ```
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5518 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 06:39 · PVG 14:39 · LAX 23:39 · JFK 02:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.