Greetings, I am struggling with how to setup my Git workflow in terms of my local dev multisite vs. live and how it relates to Git. My setup is that I have added a multisite to my main site which is in Git. So in /sites directory I now have:
subsite1.example.dev, the main site being
example.dev. For the main site having a '.dev' extension has not been an issue but now for
subsite1.example.dev, I can see this is going to be an issue as on my live site, it will be
If I put some custom modules locally under
/modules/, how are they going to be pulled into
/modules/ on my live site? I have googled around but could not really come up with any answers. I did see a reference to using a Git submodule within my main repo but I still don't know how this will work as the directories have different names on local and live. Any suggestions here are welcome, perhaps I am totally approaching this the wrong way. I also saw some references to possibly adding some symbolic links but not sure how to approach this either.