Meld is a diff tool, how to use it with git?
1. install meld
sudo apt-get install meld
2.need a script
sudo gedit /bin/git-meld.sh
#!/bin/sh
meld $2 $5
sudo chmod +x /bin/git-meld.sh
3.git config
git config –global diff.external /bin/git-meld.sh
Okay, enjoy.
版权声明:本文为lincyang原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。