squash all commits to one commit at one point

No Answer

The scenario of this question is because some company open source its project without sharing the whole history, so it keeps two different history copy.