Merge/Diff using meld in GIT

Опубликовано: 27 Декабрь 2024
на канале: beingDev
2,931
8

beingDev

Install MELD :-
http://meldmerge.org/

COMMANDS :-
1. Git difftool
2. Git difftool origin/master
3. Git mergetool
4. Git difftool first-branch another-branch
5. Git difftool --since=20117-07-07 --until=2017-08-08
6. Git difftool HEAD~5
7. Git difftool --staged

ADD FOLLOWING TO .GITCONFIG:-
[diff]
tool = meld
[difftool "meld"]
path = C:/Program Files (x86)/Meld/meld/meld.exe
[difftool]
prompt = false

[merge]
tool = meld
[mergetool "meld"]
path = C:/Program Files (x86)/Meld/meld/meld.exe
[mergetool]
prompt = false
keepBackup = false