Skip to content

Instantly share code, notes, and snippets.

@poolghost

poolghost/.gitconfig

Forked from TangChr/.gitconfig
Created Jun 8, 2018
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment