Note that there are some explanatory texts on larger screens.

plurals
  1. POCombining Multiple Sites into a single Git Repo
    primarykey
    data
    text
    <p>Here's my problem. The company I work for started off with a single website, based on osCommerce (well before I came along). Site grew, they started a second by copying the first, and modifying it where necessary. This continued over the years, to where we now have five separate sites, all based on the same code. When we make a change to one site, I currently have to manually copy those changes to all the other sites code, and upload all the changed code to each of the sites.</p> <p>This is highly inefficient, and is driving me crazy. I know that Git is pretty much designed to solve such problems. At present, I have each site as it's own Git repo, but I'm still forced to copy modifications from one to all the others. I'm also pretty new to Git. I get commits, branches, pulls, etc. but otherwise am pretty green.</p> <p>Is there anyway that I can combine all of these sites into one single repo, and how would I do so? I also should point out that the files across each site are not necessarily identical. One site is considered a priority, so some changes have been made there in emergencies that weren't rolled out to the other sites, and another one is run in a slightly different fashion than the other 4, so it's code differs slightly in some places. I realize that this will cause conflicts, but I'd like to be able to find all of the conflicts, resolve them so the system works as intended, and have any variations be database/options driven. The boss wants to roll out at least another 2 sites in a couple of months, so at that point I'll be truly losing my mind.</p> <p>Is what I'm wanting even possible? Will it require me going through each and every file to resolve conflicts? Any help is much appreciated!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload