Here is my sad story
Today I made the mistake of pulling from a different Repository into mine. I am working on Repository A and I pulled the contents of Repository B into A. I did it because I wanted some files from that Repository.
After that I pushed my repository to remote.
My problem is not my code because both repositories are different. But the problem is the history.
Now my remote Repository which can be seen by the public has all the history of commits from Repository B mixed with my commits in the log.
How can I remove those commits from the history LOG?
Is there a way to kinda reset my repository to it's state like yesterday ? Would that cause the commits from Repository B in my history to disappear ?
I tried to reset the Merge, Use Re-base and Cherry-pick but the history wasn't removed in either case.