As part of a personal project, I've started to use git instead of subversion, maybe I'm learning something new from that.
Setting up the repository was fairly easy, configuring my web server to serve the git file works like a charm; commiting, cloning, no problem here.
However, I have some issues with my project setup within the repository. Currently it looks like this:
project.git \- mobileapp \- artwork \- backend \- website website and mobileapp are supposed to communicate with backend once everything works.
My problem now is the deployment: When I want to deploy the backend on my server, currently I'd need to checkout the whole repository and copy the contents from backend to my webroot dir.
As there seems to be no way to just checkout the contents of project.git/backend, I am thinking of separating the four subprojects into four git repositories, with the added overhead of maintaining four repositories.
Is there an easier way to solve my problem?