How to clean up artifacts out of commit history
We have put files into the commit history that we do not need to keep. For example, a json, csv, or xslx file that is unnecessary. Therefore, we should use BFG to clean up the repo:
https://rtyley.github.io/bfg-repo-cleaner/
Steps to take:
brew install openjdk
download BFG
prune local branches with git remote prune origin
if needed, so that your branches that don't exist on origin stop carrying the baggage forward
If that doesn't work, then we can try:
cd /tmp
git clone --mirror <ironbank-tools repo>
java -jar ~/Downloads/bfg-1.13.1.jar --delete-files *.xlsx ironbank-tools.git