Skip to content

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Copy link

@Dalstroem Dalstroem commented Dec 24, 2016

Don't you mean .gitconfig?

@TangChr

This comment has been minimized.

Copy link
Owner Author

@TangChr 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