I'm new to git, and I've been tasked with moving an existing project into git. The problem I have is that it's really 2 projects. Let's call the project "One". One is actually both a reporting site, as well as a group of code templates that are used by individual projects (which enables the reporting site to run reports standard between projects). We want to run the reporting site on our dev & reporting servers, and have the code templates on our dev and production servers. So, sometimes both repositories will be needed, and othertimes only 1. One was written with a code structure like this:
/one (generic main dir, no files, only sub-dirs) /onesource (PHP source code for the reporting site) /onerept (reports run by the reporting site) /onelib (templates) /oneinc (include files used by templates) /oneadmn (files used by both) So, the reporting site repository will want to contain the onesource and onerept sub-dirs, while the templates repository will want to contain the onelib and oneinc directories. I can make the oneadmn dir into a shared mount between servers if need be. Everything is currently set up as a shared mount, but this is bad for multiple reasons.
How do I set this up in git?