git Huh
-
[Git] git commit_editmsg 탈출(exit) 방법VCS/Git & GitHub 2022. 4. 2. 22:36
git add -i 라고 쳤더니 위와 같이 Commands 에 8개 옵션들이 나왔다. 처음에 1 누르고, 그 다음 2 누르고.. 반응이 없길래 u라고 쳤다. 그랬더니 Huh (~~)? 라며, 약간 한숨 쉬는것 같은 느낌이랄까.. 제일 밑에 유닉스 블라블라라고 뜨길래 그걸 열어 봤더니 vscode 편집기에 해당 내용이 담긴 창이 떳다. 스크린샷을 남기지는 못했으나 찾아보니 약간 대화식으로 사용할 수 있도록 해둔 것 같았다. 어쨋든 해결 방법은 터미널과 같이 :wq 로 탈출 가능했다. Reference는 아래 사이트 https://apple.stackexchange.com/questions/252541/how-do-i-escape-the-git-commit-window-from-os-x-terminal#:~..