I have two branches of a repo, master and dev. Ultimately, I would like to preserve master and freeze it, but have dev become the primary branch for use. Then, I will likely have a new Dev branch for future work.
- Rename Master to Frozen
- Rename Dev to Master
- Make a new Dev branch as a branch from Master.
Seems like it could work, but I’ve seen the “Heads Up!” error in the past and want to avoid it.
Or, I could just make dev the default branch and maybe rename it. But I don’t want master to confuse people thinking it is the main branch.
What is the best practice?