How do I change the external editor for GitHub client on MAC or Windows?
I am using GitHub client on MAC OS X 10.10. (Please note that I am not using GitHub for Enterprise.)
I noticed that when there is a merge conflict, GitHub Client is prompting me to either resolve the conflict using Finder or External Editor. I do not see the file in merge conflict within GitHub client itself. So I want to setup one of the editor ( I am using Brackets) as a external editor.
In current scenario, when I click on External Editor button in GitHub (which is shown when merge conflict happens), I see the file in merge conflict in Safari browser.
I also looked at git command prompt options to see if there is a way change the setting for GitHub client using terminal window.
So far I found out that I can setup core.editor global config for git terminal/command line tool only, but not able to set the external editor of my choice for GitHub client.
Any suggestion will be appreciated.
I just tested on Mac, and as @Nick Volynkin suggested, you need to change the system default for that extention.
On mac in the finder, right click a file with the appropriate extension, click "info" and change "open with" default. http://www.mactip.net/change-default-application-file-extensions/
链接地址: http://www.djcxy.com/p/85550.html