• 카테고리

    질문 & 답변
  • 세부 분야

    개발 도구

  • 해결 여부

    미해결

commit 시 오류 확인 부탁드립니다.

20.11.07 16:57 작성 조회수 5.08k

3

windows 환경에서 실습하고 있습니다.

commit 할때 아래와 같은 메세지가 나옵니다.  정상 commit을 하려면 어떻게 해야 하나요 ??

$ git commit -m "first commit"

Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"

  git config --global user.name "Your Name"

to set your account's default identity.

Omit --global to set the identity only in this repository.

답변 1

답변을 작성해보세요.

6

안녕하세요 :) 그건 처음 git으로 commit을 하는 경우 뜨는 메시지입니다. 

단순히 메세지 내용 대로 

git config --global user.email "질문자 분의 이메일주소"

  git config --global user.name "질문자분 성함"

를 입력해주시면 (새 컴퓨터를 사용하지 않는 이상) 다음부터는 나오지 않을거에요 :)

화이팅하시구 언제든 질문이 있으시면 질문 주세요!

감사합니다.