linux 下配置可视化git 冲突合并工具kdiff3

linux 下配置可视化git 冲突合并工具kdiff3

原文连接:

http://www.bigsoft.co.uk/blog/2018/05/18/git-and-kdiff3
https://stackoverflow.com/questions/33308482/git-how-configure-kdiff3-as-merge-tool-and-diff-tool

内容:

Git and Kdiff3

Posted by davidnewcomb on 18 May 2018 in Source Control

Kdiff3 has been my favourite diff tool for a while and I always have to look up how to configure it to be automatically launched when using Git from the command line. So it’s going in the blog!

For Linux

sudo apt-get update
sudo apt-get install kdiff3

git config --global --add merge.tool kdiff3
git config --global --add mergetool.kdiff3.path "/usr/bin/kdiff3"
git config --global --add mergetool.kdiff3.trustExitCode false
git config --global --add mergetool.prompt false

git config --global --add diff.guitool kdiff3
git config --global --add difftool.kdiff3.path "/usr/bin/kdiff3"
git config --global --add difftool.kdiff3.trustExitCode false
git config --global --add difftool.prompt false
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值