mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 01:37:14 +01:00
diffmerge as merge tool
This commit is contained in:
parent
adbf4f0ac4
commit
4f55bae930
17
gitconfig
17
gitconfig
@ -40,4 +40,19 @@
|
||||
c = commit
|
||||
cm = commit -m
|
||||
l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
|
||||
ll = log --stat --abbrev-commit
|
||||
ll = log --stat --abbrev-commit
|
||||
[difftool "sourcetree"]
|
||||
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
||||
path =
|
||||
[mergetool "sourcetree"]
|
||||
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
||||
trustExitCode = true
|
||||
[diff]
|
||||
tool = diffmerge
|
||||
[difftool "diffmerge"]
|
||||
cmd = diffmerge \"$LOCAL\" \"$REMOTE\"
|
||||
[merge]
|
||||
tool = diffmerge
|
||||
[mergetool "diffmerge"]
|
||||
cmd = "diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$(if test -f \"$BASE\"; then echo \"$BASE\"; else echo \"$LOCAL\"; fi)\" \"$REMOTE\""
|
||||
trustExitCode = true
|
Loading…
Reference in New Issue
Block a user