I have a git repo which has code for all 1.x releases. Now I\'m starting to work on the 2.x \"branch\". Since I\'m starting to code that completely from scratch again (no co
If you decide to keep both versions in the code (which makes sense), you can create a second root branch:
git checkout --orphan branchForV2
(as detailled in "How to merge codeline with git" and in "Deploying a Re-Written Github/Heroku App")