Trouble setting Sublime Text as default editor for entering Git commit message
1
vote
1
answer
832
views
I am learning
git
command-line. I wish to set Sublime Text as the default editor for entering commit message, when I run the git commit
command from Terminal.
But when trying to do so, I am running into the following error:
> error: There was a problem with the editor ''/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl' -n -w'.
Please supply the message using either -m or -F option.
What could be going wrong? How do I resolve the error message, and set things such that Sublime Text opens automatically for entering commit message when running git commit
command from Terminal.
Asked by rishabh
(11 rep)
May 6, 2020, 05:09 PM
Last activity: May 6, 2020, 05:53 PM
Last activity: May 6, 2020, 05:53 PM