Skip to content

Instantly share code, notes, and snippets.

@jaimehrubiks
Created December 1, 2018 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaimehrubiks/cdc70b879434fc561cf9cb9dfba9403d to your computer and use it in GitHub Desktop.
Save jaimehrubiks/cdc70b879434fc561cf9cb9dfba9403d to your computer and use it in GitHub Desktop.
VScode for git mergetool
git config --global --edit
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment