git - Disable automatic merging files when pulling from another branch -
how stop tortoisegit and/or sourcetree performing automatic merge when pull branch?
i want manually merge (with kdiff3 or whatever external diff/merge program) files have been changed in both checked out branch , branch i'm pulling from.
apparently, merging done automatically (and badly) default, , messed project files.
- setup kdiff3 external program diff/merge
- fetch
- compare revisions
- diff each file , merge manually
external program setting: https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html
diff kdiff3:
c:\path-to\kdiff3.exe %base %mine --l1 %bname --l2 %yname
merge kdiff3:
c:\path-to\kdiff3.exe %base %mine %theirs -o %merged --l1 %bname --l2 %yname --l3 %tname
Comments
Post a Comment