Usually, I use android-studio for development and git via the terminal in mac os. Sometimes when I try to merge branches terminal print this line :
hint: Waiting for your editor to close the file...
and sublime text opens(which is the current default text editor for me in git), show me a message for the merge command, and want to save and close the editor. how can I set android-studio as the default text editor in git?
I did this for setting sublime as the default text editor in git( ~/.gitconfig) but need a similar command for android-studio:
editor = /Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl -n -w