다음 안내를 따르면 완벽하게 "작동했습니다". 실제로 그들은 상자에서 말한 것을 정확히했습니다. 내가 가지고있는 문제는 git commit과 같은 명령을 실행할 때 메시지 편집기로 숭고한 것을 사용하기를 원한다는 것입니다. 자식이Windows에서 악의적 인 열심히 열기
이error: cannot spawn subl: No such file or directory error: unable to start editor 'subl' Please supply the message using either -m or -F option.
사람이 어떤 빛을에 있나 커밋
Windows
Find the directory where Sublime is located for you. For many people, this is C:/Program\ Files/Sublime\ Text\ 2/sublime_text.exe. To test this, run ls C:/Program\ Files/Sublime\ Text\ 2 within Git Bash. You should see sublime_text.exe listed. If you get the error No such file or directory, Sublime is located somewhere else for you and you'll need to find it. For example, it might be under C:/Program\ Files\ (x86)`.
Run the following command in Git Bash: echo 'alias subl="C:/Program\ Files/Sublime\ Text\ 2/sublime_text.exe"' >> ~/.bashrc If subl was in a different directory for you in step 1, use that directory.
Close and re-open Git Bash. Typing subl in Git Bash should now open Sublime.
는 내가 명령
git config --global core.editor "subl"
를 실행해야합니다 알고하지만 그 다음 내가 사용하려고하면 아래의 오류 메시지가 실행 나는 무엇을해야만 하는가?
에 오신 것을 환영합니다 숭고한 텍스트를 사용하고 윈도우 10에 나를 위해 일한! 나는 당신이 다른 사람의 대답에 대해 의견을 추가하기에는 너무 새롭다는 것을 알고 있지만, 이와 같은 정보를 추가하는 적절한 방법이었을 것입니다. 참여를 계속하고 곧 댓글을 달 수 있습니다! – dg99