How to set a specific program to open revision temp files in git extensions

39 Views Asked by At

I've used git extensions quite a bit but I still haven't found a way to set a default program to open the revision temporary files. Every time that I open the revision it asks me with which program I want to open it. Is there a way to set a default (e.g. notepad++ or vscode)?

1

There are 1 best solutions below

0
VonC On

Check first if setting a difftool is enough (this was also illustrated for mergetool in gitextensions/gitextensions discussion 10498.

That should open a diff or a commit in that tool.

Set also your editor:

git config core.editor "code --wait"