In accordance with the project settings, I would prefer
1) create a new repo for v1
git checkout v1 git remote add v1_repo git@gitlab.com :andrej/project-v1.git git push v1_repo v1:master
2a) merge v2 with the master branch.
git checkout master git merge v2
2b) if you insist on creating 2 new projects, you can create a new project from the just merged wizard:
git remote add v2_repo git@gitlab.com :andrej/project-v2.git git push v2_repo master
3) You can tidy up the original repo by deleting branches v1 and v2:
git checkout master git branch -D v1 git branch -d v2
Here you should use -D to force removal of branch v1 because branch v1 not been merged.
andrej
source share