I am trying to set up Brackets as my core editor for Git. When I run config --list
, Brackets is listed as my core.editor
. However, when I run git commit
, I get the following message:
error: cannot run brackets: No such file or directory
error: unable to start editor 'brackets'
Please supply the message using either -m or -F option.
git can't find executable 'brackets'. That's because there is no such executable in PATH
. Assuming you have installed Brackets.app in Applications, set your core.editor
to /Applications/Brackets.app/Contents/MacOS/Brackets
.