내 커밋이 GitHub의 "활동 일정"에 나타나지 않는 문제를 해결하고 표시되지 않은 커밋을보고 내 계정에 연결하지 않은 전자 메일 주소를 사용하고 있음을 깨달았습니다.내 전자 메일 주소는 어디에 살고 있습니까?
그러나 내가 얻지 못한 것은이 전자 메일 주소가있는 곳입니다. 사용 된 전자 메일은 회사의 내부 사용자 이름과 관련이 있으며 기본적으로 구조는 [email protected]
입니다. 전자 메일 주소를 사용한 적이 한번도 없었습니다. 실제로 작동하는지 확실하지 않아 어디서나 직접 제공하지 않았습니다.
제안 된 검사를 실행하면 git config --global user.email
과 git config user.email
은 (사용 된) 전자 메일 주소가 평소 사용하고있는 것으로 나타납니다. echo $GIT_COMMITTER_EMAIL
및 echo $GIT_AUTHOR_EMAIL
도 비어 있음을 알 수 있습니다. 그러나 제안 된대로 설정하려고하면 here가 작동하지 않습니다. 그냥 bash: GIT_*_EMAIL: command not found
라고합니다.
그렇다면 나 이외에는 누구에게나 명백 할 수도 있지만, 정확히 (올바르지 않은) 전자 메일 주소 인 [email protected]
은 어디에 있으며 어떻게 고칠 수 있습니까? 그리고 왜 그것이 처음부터 사용 되었습니까?
편집 :
Committer: My Name <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
마지막 줄은 그냥 커밋 나의 가장 최근에 편집 할 수있는 편집기를 제공합니다 : 나는 또한 다음과 같은 메시지가 나타납니다.
실행중인 git 클라이언트의 버전은 무엇입니까? –
@AlNeill'git --version'은'git version 2.7.1.windows.1'을 반환합니다. – hejseb