I was following this post and came across the error in the title when attempting
git rebase -i origin/master
the code again:
/user/libexec/git-core/git-rebase--interactive: line 237: nano: command not found
could not execute editor
I was following this post and came across the error in the title when attempting
git rebase -i origin/master
the code again:
/user/libexec/git-core/git-rebase--interactive: line 237: nano: command not found
could not execute editor
the git rebase -i wasn't told what editor to use, use this following command to solve the problem.
export GIT_EDITOR=nano (global)
or
git config --global core.editor "nano" (local)
replace 'vim' in place of 'nano' for vim editor