My program has gone through a rewrite. I have done all the work in a separate git repo but I want to it all back to the original.
Is there a good way to do this so that it is obvious that this a new rewrite? Something like rename master and start a new master branch?
I don't really want the master logs to include the original and rewrite commits.
I ended up moving the master branch to _master and created a new bare master. This was hard because gitlab was being obstructive. I had to make another branch the master before I could rename it.
I pushed the new repository to the master branch of this repo.
I now have a branch that has two distinct branches with everything working and it displays nicely in the network graph in gitlab. It is clear that master is not a continuation of the old code and is a rewrite.