'How do I remove all traces of a contributor in a repository in GitHub
I have a global config with user1 and email1 that I use for other things. The problem is, I accidentally pushed a commit to GitHub with this global config, which happens to be completely incorrect. I wanted instead to locally config my GitHub user user2 and email2 and then push with that one so that on GitHub I appear as the only contributor.
I tried git rebase -i and then --amend --author="..." and even a git filter-branch script that I found on another question. When I git log, indeed the Author is correct, but on GitHub it is still showing that the commit has two contributors now.
The thing is that the second user shouldn't exist. It is actually me, just with a user name and email that is not on GitHub, but for some reason, GitHub created this user automatically. Is it possible to completely remove this contributor from this repo, either through git or GitHub settings?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


