반응형
$ 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
'Github' 카테고리의 다른 글
GitHub에서 다른 사용자 코드를 가져와야 할 때(React) (0) | 2023.11.05 |
---|---|
cmd창에서 D드라이브로 이동하기 (0) | 2022.02.08 |
소개글(Read me) 작성법 (0) | 2022.02.02 |
fatal: refusing to merge unrelated histories 에러 해결하기 (0) | 2022.02.01 |
GitHub에 폴더 올리기 (0) | 2022.01.31 |