Parant/master project in git

Posted by jriff on Stack Overflow See other posts from Stack Overflow or by jriff
Published on 2010-03-27T18:31:12Z Indexed on 2010/03/27 18:33 UTC
Read the original article Hit count: 196

Filed under:

Hi all

I have a project "A" that is a Git repo. I would like to be able to make multiple copies of project A (B and C), and modify them for clients.

"A" is the master so sometimes when I do new functionality i would like to be able to pull them from B or C. But some commits should just stay in A and never leave :-)

How do I do that with Git? That is:

  • how to copy A? (Clone?)
  • how to get specific commits into B and C?

Please keep in mind that this all happening locally - not on GitHub. I use OS X.

Regards,

Jacob.

© Stack Overflow or respective owner

Related posts about git