为SourceTree添加Kaleidoscope的external diff支持

2022-12-28 08:39:40 浏览数 (1)

编辑 ~/.gitconfig

代码语言:javascript复制
# add
[difftool "sourcetree"]
    cmd = /usr/local/bin/ksdiff -- "$LOCAL" "$REMOTE"
    path = 
[mergetool "sourcetree"]
    cmd = /usr/local/bin/ksdiff --merge --output "$MERGED" --base "$BASE" -- "$LOCAL" "$REMOTE"
    trustExitCode = true

参考

https://ruby-china.org/topics/14404

0 人点赞