yazoox
V2EX  ›  问与答

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

  •  
  •   yazoox · Dec 14, 2020 · 1383 views
    This topic created in 2172 days ago, the information mentioned may be changed or developed.
    cmd = 'C:/Program Files/KDiff3/kdiff3.exe' \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"
    

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

    谢谢!

    1 replies  •  2020-12-23 14:54:31 +08:00
    yazoox
    yazoox
    OP
    Dec 23, 2020
    1
    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.
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2238 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:36 · PVG 21:36 · LAX 05:36 · JFK 08:36
    ♥ Do have faith in what you're doing.