Creating a new project from a project skeleton using git

Posted by asciitaxi on Stack Overflow See other posts from Stack Overflow or by asciitaxi
Published on 2010-04-24T08:39:24Z Indexed on 2010/04/24 8:43 UTC
Read the original article Hit count: 234

Filed under:

In order to get a new django project up and running faster, I'd like to maintain a separate "project skeleton" on which I base all my new projects. It would be great if, as I improved the skeleton, I could bring those improvements into my active projects. How can I accomplish this with git?

So, maybe in my remote git repository machine I would have 1 repo for each project and one for the skeleton?

  • proj-A-repo
  • proj-B-repo
  • skeleton-repo

If I want to create a new proj-C locally based on the skeleton, then push my local changes up to the remote server in a new repo called proj-C-repo, how might I do this?

I've read through quite a bit of git documentation, but I'm confused about how to go about this. Do I need to clone the skeleton, or create an empty repo and then track a remote branch, or something else?

© Stack Overflow or respective owner

Related posts about git