Git config global as a merge tool meld:
1 - You can use a function like
git config global mergetool meld
or directly enter these below values in .gitconfig file(located in user or home folder)
[user]
name = XXXX
email = XXXX@YYY.com
[merge]
tool = meld
[diff]
tool = meld
[mergetool]
prompt = true
How to use :
1 - to compare the change in files
2 - compare the whole branch
git difftool -d dev_backend_changes
Now my current directory branch is alpha_hd_api so it will pick up automatically, Current branch must be the branch in which I would like to write the changes,
So in the meld tool, the left would be the dev_backend_changes ---- alpha_hd_api
Now simply copy the changes from left to right & merge the changes
1 - You can use a function like
git config global mergetool meld
or directly enter these below values in .gitconfig file(located in user or home folder)
[user]
name = XXXX
email = XXXX@YYY.com
[merge]
tool = meld
[diff]
tool = meld
[mergetool]
prompt = true
How to use :
1 - to compare the change in files
2 - compare the whole branch
git difftool -d dev_backend_changes
Now my current directory branch is alpha_hd_api so it will pick up automatically, Current branch must be the branch in which I would like to write the changes,
So in the meld tool, the left would be the dev_backend_changes ---- alpha_hd_api
Now simply copy the changes from left to right & merge the changes
Comments
Post a Comment