- Github

github commit 후 contributions 안 찍힘

미니언니 2022. 10. 14. 18:03

노션에만 개인적으로 정리하던 걸 이제야 공개 Tistory에 올리기 시작하려고 하는 시점.

Github도 안 한 지 너무 오래되어서 까먹은 기억을 다시 복구하려고 함.

그래서 그냥 검색했던 기록, 해결한 기록 다 적으려고 한다.

 

 

인텔리제이에서 commit and push를 두 번이나 했는데 왜 안 보이지 하다가, 

contribution에 찍히는 조건을 발견.

 

  • commit에 사용하는 이메일 주소가 github 계정 이메일과 동일해야 한다.
  • fork를 한 commit은 적용되지않고, 독립적인 repository에서 한 commit이어야 한다.
  • repository의 기본 브런치(다른 설정 없으면 master) 또는 gh-pages branch (프로젝트 사이트가 있는 리포지토리의 경우)로 commit이 만들어져야 함

추가로 다음 중 하나에 해당되어야 한다.

  • repository 공동 작업자거나 소유한 조직의 구성원이어야 한다.
  • repository의 pull request나 issue를 봐야한다.
  • repository에 star를 주어야 합니다.
  • repository를 이미 fork 한 상태여야 합니다.

나는 Intellij terminal에서 확인해본 결과 회사 아이디로 되어있어서 안 되는 것이었다.

commit에 사용하는 이메일 주소가 github 계정 이메일과 동일하게 만들기

 

[현재 commit 되고 있는 이메일 확인]

git config user.email

 

[commit 이메일 변경]

git config (--global) user.email [gitHub계정]

 

 

 

 

 

[Ref]

https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile

 

Why are my contributions not showing up on my profile? - GitHub Docs

About your contribution graph Your profile contributions graph is a record of contributions you've made to repositories on GitHub.com. Contributions are timestamped according to Coordinated Universal Time (UTC) rather than your local time zone. Contributio

docs.github.com

https://algoroot.tistory.com/40

 

[github] git commit 후 contribution 그래프 반영이 안될 때

오늘 내일 14년지기 친구들과 여행을 간다. 가기 전에 노마드코더 챌린지를 하고, 어제 하지 못했던 알고리즘 문제들을 깃헙에 push하려고 새벽 5시에 일어났다.. 그런데 깃헙에 push하고  contributio

algoroot.tistory.com

 

 

'- Github' 카테고리의 다른 글

회사에서 재미있어보기 (GIT PR - REVIEW )  (0) 2024.02.03