Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

Open all files at once using VsCode as Git difftool and mergetool

$
0
0

Currently, I have VsCode configured to be my git difftool and git mergetool

My ~\.gitconfig file looks like this:

[user]
    email = myemail@gmail.com
[merge]
    tool = vscode
[mergetool "vscode"]
    cmd = code --wait $MERGED
[diff]
    tool = vscode
[difftool "vscode"]
    cmd = code --wait --diff $LOCAL $REMOTE

However, when I run git difftool, it will ask me

Viewing (1/6): 'Repo\directory\someCode.cs'                                                                                                                 
Launch 'vscode' [Y/n]?

Is there a way to open all diffs at once? It is useful to be able to cycle between files without having to close them.


Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>