|How to manage multiple projects within the same repo [message #1849692]
||Sun, 30 January 2022 00:07
|| Jack McKalling
Registered: January 2022
What is the most common way of managing multiple projects within the same repo? For instance if you start each project on its own root commit, would that allow you to switch branches on each project independently from the other?|
And how do you setup a root commit in the first place? Or alternatively if that's not the way, how would I go about creating the second project for this repo, normally?
Currently I have setup my second project from the non-git new project wizard, shared it by specifying the existing repo, and committed this onto a new branch based off the master branch of the first project. But I now have other branches in front of the master for the first project too, and each time I switch branches, the second project "disappears" completely from the package explorer.
I'm guessing this is because the second project is dependent on the current branch of the first project this way, and since it doesn't exist on some of the branches it gets automatically removed by git if I switch. But I want to be able to freely switch branches between the two projects as if they were from different repos. Or, that's my naive wish if that's what it is. I've just started using EGit this month so what do I know.
I've read most of the EGit User Guide, and I couldn't find specific instructions on how to manage multiple projects per repo, but it does suggest that it should be possible considering the folder structure of Repo > project > working tree.
[Updated on: Sun, 30 January 2022 08:47]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01765 seconds