简体   繁体   中英

Remove contributor from main page of github 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?

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:

  1. Changed all commits emails (two) that pointed to the other account using git-filter-repo tool, like this .

  2. Follow the suggestion of renaming the branches, main -> main1 -> main (didn't work, at least not instantaneously).

  3. 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM