kjunz
kjunz

Reputation: 111

Do you lose contributions of a project if you get removed from this project?

I can't seemed to find this information anywhere, but just wanna ask that if you are a contributor of a project and you worked on it so you can see all of those contributions on the chart, but then for whatever reason the owner of the project removed you, do you lose all of those contributions? as in will those green contribution grids(the days you work on it) go back to grey?

Upvotes: 3

Views: 3014

Answers (1)

GoodDeeds
GoodDeeds

Reputation: 8507

No, the contributions are based on the commit email ID, and do not have anything to do with the corresponding GitHub account having access to the repository. GitHub attributes a commit to a particular account if the email ID used with the commit is registered under that account.

So, unless the email IDs of past commits are in some way changed later, the contributions will still be visible, as long as the repository is public.

This also works the other way around. Anyone can set any email ID in their git configuration while committing, so it is trivial to falsely attribute commits to someone else, when viewing the contribution chart in GitHub.

Upvotes: 4

Related Questions