rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
10.84k stars 535 forks source link

Unable to push to GITLAB after cleaning #439

Open BishopWolf opened 3 years ago

BishopWolf commented 3 years ago

Basically after cleaning gitlab says

remote: GitLab: You cannot push commits for 'xxx@xxx.com'. 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

NightMachinery commented 2 years ago

@BishopWolf It seems bfg rewrote commits that were authored by 'xxx@xxx.com', 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.