Last active
August 6, 2018 06:18
-
-
Save TangChr/56ed91aa26faf6fbdf30f60ab6dcc8c7 to your computer and use it in GitHub Desktop.
Adding Visual Studio Code to .gitconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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
Don't you mean .gitconfig?