Seek a bit of Git help if possible. I am new to Git and try to learn so bear with me;)
In short, I have two remote repositories configured on two different servers. I had one setup, but when adding a second, I accidentally added a repo from an existing project.
Then I pulled out of this second wrong repo and got all the commits made. I deleted this wrong remote repo, but commits still exist in the tree: -S There are all my real commits at the top, then a break, then all are wrong.
Anyway, can I remove all of these commits from my commit history, since I would like to keep my tree as clean as possible?
Any help would be appreciated in this regard.
Thank you in advance
source share