왜 Git 그래프가 채워지지 않는가?

Page content

1줄 요약

  • 이메일을 확인하자.

개요

  • 필자는 강의를 위해 깃헙 계정이 여러개가 존재함
  • 강사용 PC에서 지속적으로 Commit을 진행했으나 Github 그래프가 출력이 되지 않는 오류 발생을 해결하는 과정에서 확인

Github 질의

왜? 공통 이유 중의 하나는 이메일

  • 이 때, 가장 중요한 것은 이메일입니다.
    • 사실, 해당 내용에도 나오지만, 가장 흔한 이유 중의 하나라고 합니다.

Your local Git commit email isn’t connected to your account Commits must be made with an email address that is connected to your account on GitHub, or the GitHub-provided noreply email address provided to you in your email settings, in order to appear on your contributions graph. For more information about noreply email addresses, see “Setting your commit email address.”

이메일 변경

  • 그러면 이메일 주소를 확인하고 변경합니다.
$ git config user.email
  • 아니나 다를까? 제 개인 다른 계정으로 강사PC에 등록 중이었습니다.
  • 그럼 이제 변경을 합시다.
$ git config --global user.email your_email_address
  • 이렇게 바꾸고 난 후에, 다시 Commit을 진행하니 정상적으로 되었습니다.

소결

  • 이메일을 잘 확인하도록 합니다.

도움이 되었기를 바랍니다. ^^