vs code를 이용해서 git에 파일을 commit 하려고 할때 아래와 같은 메시지가 나오는 경우
make sure you configure your user.name and user.email in git
git 설치 후 계정 관련 설정을 해줘야 하는데 해당 설정을 하지 않았거나 정상적으로 완료 되지 않은 경우 입니다.
git config --global user.name 'test'
git config --global user.email 'test@gmail.com'
명령어를 실행 해서 계정 정보를 설정 해주면 됩니다.
(global 옵션은 모든 프로젝트에 사용 하겠다는 옵션으로 필요 없는 경우 실행 하지 않아도 됩니다.)
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
Git - First-Time Git Setup
Since Git might read the same configuration variable value from more than one file, it’s possible that you have an unexpected value for one of these values and you don’t know why. In cases like that, you can query Git as to the origin for that value, a
git-scm.com
Your Identity 부분 참조
반응형
'개발도구' 카테고리의 다른 글
jenkins maven 빌드시 에러 (0) | 2022.02.14 |
---|---|
vscode git 연결, 연결시 이름,이메일 입력하라고 계속 나오는 경우 (0) | 2021.11.05 |
maven repository http->https관련 문제 (0) | 2021.05.07 |
이클립스 실행시 open jdk 경로 지정 (0) | 2021.05.07 |
이클립스 구동시 에러 (0) | 2021.05.03 |