I have configured my Git for Windows installation to use Beyond Compare (BC) for diffs and merges from the command line.
Unfortunately, when I'm working in Visual Studio 2022 and start a comparison for a file in the Git Changes tab, it starts BC to view the changes rather than just opening it in Visual Studio's built-in diff tool, which is not what I want.
If I go to the VS options I can select "Use Visual Studio" for diffs and merges, but this is changing my Git config so that, if I then do a git diff
from the command line, it starts Visual Studio and loads the differences there for each file, rather than using Beyond Compare.
So, my question: [how] can I configure VS and/or Git to use VS diff when I'm in working in Visual Studio and my usual tool when I diff from the command line?