I want to squash the last 25 commits into one commit, so I did this:
git reset --soft HEAD~25
git commit -m "main refactor"
I have squashed the commits and added to one commit but I wanted it to remove or hide all contributions from a foreign contributor.
All foreign contribution have been joined into one commit as a commit from branch owner but it still keeps record of commits made by foreign contributor. How can I remove or hide the commits from the contributor?
By the way, I merged the contributor's commit some time ago.