Git merging within a line

前端 未结 3 1519
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 18:41

Preamble

I\'m using git as a version control system for a paper that my lab is writing, in LaTeX. There are several people collaborating.

I\

3条回答
  •  醉梦人生
    2020-11-29 19:07

    I believe the git merge algorithm is quite simple (even though you can make it work harder with the "patience" merge strategy).
    Its work item will remain the line.

    But the general idea is to delegate any fine-grained detection§resolution mechanism to a third-party tool you can setup with git config mergetool.
    If some words within a long line differs, that external tool (KDiff3, DiffMerge, ...) will be able to pick up that change and present it to you.

提交回复
热议问题