bfg-repo-cleaner icon indicating copy to clipboard operation
bfg-repo-cleaner copied to clipboard

Unable to push to GITLAB after cleaning

Open BishopWolf opened this issue 3 years ago • 1 comments

Basically after cleaning gitlab says

remote: GitLab: You cannot push commits for '[email protected]'. You can only push commits that were committed with one of your own verified emails.

Is there a way to handle this? I want to keep contributor history

BishopWolf avatar Jun 29 '21 09:06 BishopWolf

@BishopWolf It seems bfg rewrote commits that were authored by '[email protected]', and now you need their gpg key to push their rewritten commits. Your best bet is to change the author of all those commits to a dummy author, I venture. I don't know how you can do that, websearch it.

NightMachinery avatar Jul 19 '21 11:07 NightMachinery