Inflearn brand logo image
Inflearn brand logo image
채널톡 아이콘

인프런 커뮤니티 질문&답변

김대영님의 프로필 이미지

작성한 질문수

빠르게 git - 핵심만 골라 배우는 Git/Github

버전을 만들어보자

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

작성

·

6.8K

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 "질문자분 성함"

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

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

감사합니다.