This is a oneline for cleaning up your git repo of messy commits and leave
only the last one:
1
| git checkout --orphan latest_branch && git add -A && git commit -am "Initial commit" && git branch -D main && git branch -m main && git push -f origin main
|
Boom!