I am following the steps from below link to remove the secrets from git history.
https://rtyley.github.io/bfg-repo-cleaner/
But the history is not getting removed from the tags. Could you please help on how to remove the history from tags?
I am following the steps from below link to remove the secrets from git history.
https://rtyley.github.io/bfg-repo-cleaner/
But the history is not getting removed from the tags. Could you please help on how to remove the history from tags?
Copyright © 2021 Jogjafile Inc.
You must start cloning the repo with
--mirror, this way git will clone all refs, including branches and tags. Then you run the tool to clean all refs out. When you push, all cleaned refs are going to be pushed back.As per the documentation: