V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yazoox
V2EX  ›  问与答

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

  •  
  •   yazoox · Dec 14, 2020 · 1001 views
    This topic created in 1972 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
        1
    yazoox  
    OP
       Dec 23, 2020
    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   ·   Solana   ·   3111 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:45 · PVG 21:45 · LAX 06:45 · JFK 09:45
    ♥ Do have faith in what you're doing.