개발/기타
git rebase -i empty 문제
문둘기
2020. 11. 16. 20:56
git 강의를 듣던중에 git rebase -i
를했는데, 비어있는 창이 뜨는 문제가 생겼다 .
검색해보니 강의 초반에 환경 세팅할때 git config --global core.editor "code --wait"
으로 하라고했는데,
git config --global core.editor "code "
까지만 한게 문제였다,
--wait
옵션으로 터미널이 작업종료를 기다리게되는데, 이것으로 해결했다
참고
How to use Visual Studio Code as default editor for git?
When using git at the command line, I am wondering if it is possible to use Visual Studio Code as the default editor, i.e. when creating commit comments and looking at a diff of a file from the com...
stackoverflow.com