Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Adding Visual Studio Code to .gitconfig
editor = "code --wait"
tool = default-difftool
[difftool "default-difftool"]
cmd = "code --wait --diff $LOCAL $REMOTE"
tool = vscode
prompt = false
[mergetool "vscode"]
cmd = "code --wait $MERGED"
keepbackup = false
Copy link

Dalstroem commented Dec 24, 2016

Don't you mean .gitconfig?

Copy link

TangChr commented Dec 29, 2016

Just discovered the mistake
@Dalstroem Of cause I meant .gitconfig 😄

Updated Gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment