Nancy, do you have nested checkouts then or did you need to build a script to manage the combining of the sites checkout with the core checkout?

 

Does this work then? :

 

.gitignore of the core site includes sites but then you create a checkout of the separate repo in the sites folder with its own .gitignore file?

 

Curious as well.

 

 

From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Nancy Wichmann
Sent: Wednesday, November 27, 2013 9:23 AM
To: support@drupal.org
Subject: Re: [support] Git and multisite: mutually exclusive?

 

Jeff, I build another repo for the multisite core. Of course, it excludes the sites. As far as I am concerned, the core part is an entity that is managed separately from the individual sites.

 

 

Nancy

 

 


From: Jeff Greenberg <listmail.ayendesigns@gmail.com>
To: "support@drupal.org" <support@drupal.org>
Sent: Wednesday, November 27, 2013 9:59 AM
Subject: [support] Git and multisite: mutually exclusive?

 

I've been racking my brain trying to come up with an elegant git workflow for multisite. 

 

If I just want the site portions under git control, then it's not an issue. But if I want core as part of each, then it becomes so. I considered using git submodule, but then the workflow gets more complex on the local level.

 

Has anyone found a nice way to handle this?

 

---

@accidentalcoder


--
[ Drupal support list | http://lists.drupal.org/ ]