답 링크vsCode를 이용하여 git commit의 오류가 났을 때git config --global core.editor 'vi' 을 이용하여 core.editor를 수정 하면 된다.