git/gitolite: big git repo with several mini projects

Posted by Jay on Super User See other posts from Super User or by Jay
Published on 2012-06-04T03:29:21Z Indexed on 2012/06/04 4:42 UTC
Read the original article Hit count: 484

Filed under:
|
|

I'm pretty new to the whole version control thing, and even more so with git. I recently installed git on my computer(s) and set it up on a NAS server.

However, I have several client folders with several project folders per client folder.

Each one of these client folders is a giant repo, encompassing every project inside it.

What I'm wondering is, is there a way to break this apart? So, for instance:

  1. The NAS is my 'origin', and has gitolite installed

  2. On computer1 I have every project folder in a client folder ever created (clean branch),

  3. In computer2 I do not a new checkout of the client branch (because all the projects in that branch are all completed and I don't need a working copy of it), but I do have a brand new project folder for that client "newproject".

Is there a way to commit and push to the NAS repo from computer2?

Or perhaps is there a better way of organizing all this?

© Super User or respective owner

Related posts about git

Related posts about nas