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.
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
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.