Closed
Description
1.0.0 introduced the ability to use VS Code as a git difftool. The relevant global .gitconfig
lines are as follows:
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
How can I use VS Code as a git mergetool?
The relevant arguments it needs to accept, I believe, are $LOCAL
, $REMOTE
, $BASE
, and $MERGED
.