Answer the question
In order to leave comments, you need to log in
How to screw VSCode as external difftools for git inside WSL?
Am I really a pervert that I do such things - make up sites in Windows 10, native Windows WebStorm, and work with git through the WSL terminal?
But I managed to attach VSCode as an external editor for git commit:
[core]
editor = '/mnt/c/Users/const/AppData/Local/Programs/Microsoft VS Code/code.exe'
[diff]
tool = vscode
[difftool "vscode"]
cmd = '/mnt/c/Users/const/AppData/Local/Programs/Microsoft VS Code/code.exe' --wait --diff $LOCAL $REMOTE
C:\Users\const\WebstormProjects\test-git-02\README': Unable to read file 'c:\tmp\8jW60h_README' (Error: Unable to resolve non-existing file 'c:\tmp\8jW60h_README').
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question