I created a new project by copying existing code. Normally, I'd clone a new empty repository, copy over the files (without the .git folder) from an existing similar project and delete any relavent files. The initial commit will be all the tooling/setup stuff with no content.
I've somehow messed this up - Our CI just tried to do a 1.0.0 release and failed becuase that tag already exists in git. It exists on the history of the project I coppied, which is somehow, disjointedly hanging out before the actual project commits:
The Initial Commit of the new project is a complete commit - i.e. it's not "on top" of the existing commits. It's not deleting files, just adding new versions. So the new and old history is completely disjointed.
No idea how I managed it!
What would be the best way to remove the old history, and it's tags? Should I just go through deleting tags manually?