On main page of repo we have 2 contributors.
I delete all commits (one :)) of bottom user. On page /graphs/contributors we can see 2 contributors. How remove one from main page of git repo?
On main page of repo we have 2 contributors.
I delete all commits (one :)) of bottom user. On page /graphs/contributors we can see 2 contributors. How remove one from main page of git repo?
Go to repository settings and follow this path,
Settings -> Branches
and rename default branch to something else like main1
. Then follow the same steps and rename the branch back to main
.
It seems like GitHub indeed cache the contributors list, at least for a couple of hours.
I had the same problem and did the following:
Changed all commits emails (two) that pointed to the other account using git-filter-repo
tool, like this.
Follow the suggestion of renaming the branches, main -> main1 -> main (didn't work, at least not instantaneously).
Returned to the repo about two or three hours later and it was correct.
In retrospect, perhaps the first point alone would do the trick.