Github

commit 했을 때 Author identity unknown 해결

수연 (Suyeon) 2022. 10. 19. 22:37
반응형

$ 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.


만약 컴퓨터에서 처음 commit을 한다면 해당 메세지가 뜨게 된다.

여기서 git config --global user.email "사용자 이메일"과 git config --global user.name "사용자 이름"을 입력하면 된다.

그럼 이런 메세지는 뜨지 않고 정상적으로 commit이 가능해진다.

728x90