Git Show to different editor
I want the git show command to send the contents of the file to a different editor (e.g. Notepad++) instead of the default view.
I’m presuming this is possible by changing the git config but I’m not sure where.
One Solution collect form web for “Git Show to different editor”
Git is not invoking an editor when you
git show something, it is invoking your pager, and the two serve completely different purposes.
The setting you’re after is
core.pager, and you can configure it with
git config --global core.pager <your editor here>, but it won’t help if your editor can’t be configured to read from stdin.