git

"rebase" branch to single commit

git reset --soft <master/main branch>
git add .
git commit -m ""