Git — Merging Unrelated History
Doing something fishy to delete your history?
It’s okay, it’s not a sin. In fact, it’s a must things to do. E.g: your credential API or any related password fields.
When you tried to pull remote changes, please bear in mind that you’ve to use this additional arguments:
git pull [remote name] [branch name] --allow-unrelated-histories
Now, you got to go. Pushing your clean history!
Please tell this to your team as well, due what you do is might be “rewriting” the whole git history.
Happy coding, guys!