git is giving me an error when it tries to launch TextEdit, and I'm wondering if someone might be able to help me out with it:
First I tried the simple command that was in the walkthrough to make TextEdit the editor:
git config --global core.editor "TextEdit -w"
which returned:
TextEdit -w: TextEdit: command not found
error: There was a problem with the editor "TextEdit -w".
So I got a little more specific:
git config --global core.editor "/Applications/TextEdit.app -w"
and if I try a commit without a message, it returns the error message:
$ git commit
/Applications/TextEdit.app -w: /Applications/TextEdit.app: is a directory
error: There was a problem with the editor '/Applications/TextEdit.app -w'.
Please supply the message using either -m or -F option.
(As long as I include a message with -m, it doesn't bother with TextEdit and everything works just fine)
On a whim, I tried without the -w, and got
fatal: cannot exec '/Applications/TextEdit.app': Permission denied
error: unable to start editor '/Applications/TextEdit.app'
And I think that's where I'm at... any ideas?
Thanks in advance!
git is giving me an error when it tries to launch TextEdit, and I'm wondering if someone might be able to help me out with it:
First I tried the simple command that was in the walkthrough to make TextEdit the editor:
git config --global core.editor "TextEdit -w"which returned:
So I got a little more specific:
git config --global core.editor "/Applications/TextEdit.app -w"and if I try a commit without a message, it returns the error message:
(As long as I include a message with
-m, it doesn't bother with TextEdit and everything works just fine)On a whim, I tried without the
-w, and gotAnd I think that's where I'm at... any ideas?
Thanks in advance!