Skip to content

Commit

Permalink
🔧 Git: Add VsCode as difftool and mergetool
Browse files Browse the repository at this point in the history
  • Loading branch information
ebouchut committed Sep 30, 2024
1 parent 1acf81c commit a72b361
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tag-git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[difftool "vscode"]
cmd = code --wait --new-window --diff $LOCAL $REMOTE
[merge]
tool = smerge
conflictStyle = zdiff3
Expand All @@ -133,6 +135,8 @@
[mergetool "splice"]
cmd = vim -f \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\" -c SpliceInit
trustExitCode = true
[mergetool "vscode"]
cmd = code --wait --new-window --merge $REMOTE $LOCAL $BASE $MERGED
[interactive]
diffFilter = diff-highlight
[hub]
Expand Down

0 comments on commit a72b361

Please sign in to comment.