Did you checked the output ofwhich emacsclient
command? I bet it is
emacsclient: aliased to /Applications/Emacs.app/Contents/MacOS/bin/emacsclient
Anyway, your global git config is located ~/.gitconfig
file, so you can check and edit it.
Ich setze meine Editorvariable so:
git config --global core.editor "`which emacsclient` -t -s"
und bekomme diese Ausgabe immer dann, wenn ich die Nachricht während eines Commits bearbeiten möchte
emacsclient: aliased to /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -s : emacsclient:: command not found error: There was a problem with the editor 'emacsclient: aliased to /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -s '. Please supply the message using either -m or -F option.
Did you checked the output ofwhich emacsclient
command? I bet it is
emacsclient: aliased to /Applications/Emacs.app/Contents/MacOS/bin/emacsclient
Anyway, your global git config is located ~/.gitconfig
file, so you can check and edit it.
Setting the full path "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -s" and not the alias to be the editor worked for me.