본문 바로가기

Code/cloud & linux & git

[git] commit 을 했는데 contribution 그래프가 안채워진 경험 (private repository, email변경)

상황

다른 사용자의 private repository에 collaborator 로 등록되어 있고,

git extentions을 사용하고 있었습니다.

그러던 중 깃허브 홈페이지에서 연동되어있는 계정을 변경하게 되었습니다. 

 

private repository

원래 private repository 는 contribution 그래프에 표시가 안됐는데, 언제 업데이트가 됐는지 이제는 설정을 하면 표시가 됩니다.

 

 

Private contributions 를 클릭하면 됩니다.

 

git extentions

제가 로컬에서 올리는 계정의 아이디와 계정을 다시 설정해줍니다.

 

git config --global user.email "your_email@abc.com"
git config --global user.email
git config user.email "your_email@abc.com"
git config user.email

 

그리고 기존에 있던 자격 증명을 지워줍니다.

제어판 -> 사용자 계정 -> 자격 증명 관리자 -> 일반 자격 증명 에서 github를 지워줍니다.

그리고 푸쉬하게 되면 github 계정 아이디를 입력하라고 합니다. 

계정 비밀번호를 입력하면 됩니다. 😎