You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
안녕하세요. 깃 강의를 듣다가 또 모르는 점이 생겼는데 인터넷을 찾아봐도 잘 모르겠어서 여기에 또 질문하게 되었습니다.
강의에서는 git commit이란 코멘드를 입력하면 그 다음에 원하는 문구를 insert하게 되어있는데요. 제 terminal에서는 git commit이라고 치면
"error: unable to start editor 'gedit'
Please supply the message using either -m or -F option." 이런 에러가 뜹니다.
git commit -m "update new file" 이런식으로 코멘드를 입력하면 코밋이 잘 되고요.. 왜 git commit명령어는 실행되지 않는데 git commit -m "description" 이 명령어는 잘 실행이 될까요? 에러에서 gedit이랑 에디터를 설치하라는 것 같은데 찾아봐도 도통 모르겠네요. 도움 주셔서 감사합니다.
The text was updated successfully, but these errors were encountered:
안녕하세요~ 반갑습니다. ^^
git commit 으로 명령을 실행하면 메시지 작성을 위한 텍스트 에디터가 실행됩니다.
이것은 git 기본 설정이 어떻게 되었냐에 따라서 어떤 에디터가 실행되는지가 다른데요,
gedit는 리눅스에서 사용하는 메모장 같은 프로그램인데 그게 설치가 되어 있지 않아서
발생하는 에러입니다. gedit 설명
gedit로 하고 싶으시다면 사용하시는 리눅스에서 관리자 권한으로 gedit를 설치하세요.
우분투/민트/데비안이라면
apt-get install gedit
레드햇 계열이면
yum install gedit
로 설치하시면 됩니다.
아니면 선호하는 에디터(예: vim 이나 nano)가 있으시다면 Git 편집기 변경 <-- 이 링크를 참고하셔서 변경하시면 됩니다. 좀 더 다양한 검색 링크 내용도 찾아서 봐보세요~
안녕하세요. 깃 강의를 듣다가 또 모르는 점이 생겼는데 인터넷을 찾아봐도 잘 모르겠어서 여기에 또 질문하게 되었습니다.
강의에서는 git commit이란 코멘드를 입력하면 그 다음에 원하는 문구를 insert하게 되어있는데요. 제 terminal에서는 git commit이라고 치면
"error: unable to start editor 'gedit'
Please supply the message using either -m or -F option." 이런 에러가 뜹니다.
git commit -m "update new file" 이런식으로 코멘드를 입력하면 코밋이 잘 되고요.. 왜 git commit명령어는 실행되지 않는데 git commit -m "description" 이 명령어는 잘 실행이 될까요? 에러에서 gedit이랑 에디터를 설치하라는 것 같은데 찾아봐도 도통 모르겠네요. 도움 주셔서 감사합니다.
The text was updated successfully, but these errors were encountered: