Using filter-repo
pip install -U git-filter-repoFollowing the steps from their documentation.
If the remote is deleted, you can fix it typing:
git remote add origin <REPO>And then:
git push origin --force --allUsing filter-repo
pip install -U git-filter-repoFollowing the steps from their documentation.
If the remote is deleted, you can fix it typing:
git remote add origin <REPO>And then:
git push origin --force --all