새롭게 포트폴리오 사이트를 만들기 시작면서 git을 다시 사용하기 시작했다. 이전에는 분명 git add , git commit , git push 과정을 거치면 git contribution graph의 초록색으로 이쁘게 commit 내용이 반영되었었다
하지만 최근 다시 git을 사용하면서 repository에 commit 내용은 정상으로 반영되지만 contributon graph에는 제대로 반영되지 않고있다는 것을 알게되었다.
나와 같은 문제를 겪으신 분들을 위해 아래 내용을 공유한다.
master
)나 gh-pages
branch(프로젝트 사이트를 위한 repository)에서 이루어 져야 한다.터미널 창을 열고 아래와 같이 입력한다.
$ git config --global user.email "email@example.com"
올바르게 세팅되었는지 확인하고 싶다면
$ git config --global user.email
email@example.com
< 참조 >
gitHub commit 이메일 세팅 방법
https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#about-commit-email-addresses
gitHub commit contribution 문제 원인
https://help.github.com/en/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile
감사합니다 도움 받았어요 😀