changing code editor in git:
- Set core.editor in your Git config:
git config --global core.editor "vim"
- Set the GIT_EDITOR environment variable:
export GIT_EDITOR=vim
changing code editor in git:
git config --global core.editor "vim"
export GIT_EDITOR=vim