I just started using git about a month ago. It was set up for me using TextMate as my default editor for commits. However, I'd like to switch the default to TextWrangler which I already have installed. I looked around online and found a line of code to type into the terminal to do this. So I opened the terminal and typed:
cd Desktop
cd "projectName"
git config --global core.editor TextWrangler
git status
git add.
git commit //then the error comes up
The error says: error: cannot run TextWrangler: No such file or directory error: There was a problem with the editor 'TextWrangler'. Please supply the message using either -m or -F option.
I don't know what this means or what I am doing wrong. I am sure its an obvious mistake, but can anyone explain how to fix this?