$ sudo apt-get install meld
$ sudo gvim /bin/meld-diff.sh
$ sudo chmod +x /bin/meld-diff.sh
$ git config --global diff.external meld-diff.sh
1 #!/bin/sh 2 meld $2 $5$ git config --global diff.external /bin/meld-diff.sh
$ git config --global merge.tool meld
參考資料:
How do I view 'git diff' output with a visual diff program?
How to: Meld for Git diffs in Ubuntu Hardy
沒有留言:
張貼留言