Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8619807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:25:45+00:00 2026-06-12T06:25:45+00:00

I am working on a Magento store (SVN repo connected to Git) utilizing the

  • 0

I am working on a Magento store (SVN repo connected to Git) utilizing the fabulous HTML5 Boilerplate based Magento-Boilerplate theme (GitHub repo) and extending it with my own child theme (private Git Repo). These all exist in a single www folder which happens to be the top level directory for all three projects. I would like to cleanly integrate all of these into their respective repositories, but the only solutions for multiple repositories in a single directory that I have found are submodules (which I love the idea of, but as far as I can tell require each project to be in a subfolder of the main Git repo) and symlinking the files into place (should work, but a bit messy and rather annoying to keep up).

Is there a clean way to get this done? Here is an example of my folder structure. I have denoted in which repo(s) each file/directory resides – M = Magento, B = Boilerplate, P = Private:

/www
   |-- app [M]
       |-- frontend [M]
           |-- base [M]
           |-- magento-boilerplate [B]
               |-- default [B]
               |-- myprivatetheme [P]
   |-- skin [M]
       |-- frontend [M]
           |-- base [M]
           |-- magento-boilerplate [B]
               |-- default [B]
               |-- myprivatetheme [P]
   |-- .htaccess [M][B][P]
   |-- favicon.ico [M][P]

As you can see, even without the whole .htaccess and favicon.ico being in multiple repositories mess (I would just gitignore or –assume-unchanged them in the Magento and Boilerplate repos and use my private one for them) the top level directory is www due to the way that Magento splits code and themes into separate folders with a common parent of www. Due to that you can even technically say that the app, skin, and various frontend folders exist in multiple repos as well, since they must exist in each repo all the way up to the top level directory for structure.

Is sym-linking these repos in from separate folders my only solution? It’s not a huge problem, but I would be really interested to know if Git is flexible enough to deal with my case. It looks like modman may have been created specifically to aid in this symlinking issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:25:47+00:00Added an answer on June 12, 2026 at 6:25 am

    I confirm there is no easy way to map a Git repo structure to a deployment structure (which is essentially what your folder structure shows: a deployment into a web folder)

    “modman” seems to be a valid way to automate, but you need to remember that if you do any change in one of those submodules, you will need to commit them, push them to their respective upstream, and go to the parent git repo, commit again and push.
    All that doesn’t seem to be taken into account by modman.

    The OP Colt McCormack reports studying modgit:

    modgit is an alternative to the excellent modman tool.
    Directly inspired from it, modgit allows you to deploy Git modules physically in your project (no symlinks).
    Additionally, you can define include/exclude filters to deploy only files and folders of your choice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working for a client who owns a Magento-based store. It's chock full of
This is a Magento store based on the Acumen theme from Themeforest. Seemingly out
I am currently working on a Magento store (ver. 1.6.2.0) however when i click
I'm working on developing a category roll-up report for a Magento (1.6) store. To
I am working outside of magento store root folder (1.4) and I would like
I am working in a Magento store, I want to add some information related
I'm working on a Magento-powered jewelry store and the sample ring I added as
Lets say we have a 'default' theme for our Magento (1.4+) Shoe store, we
I am working on a development version of a Magento 1.7 store, and have
I am working on a demo Magento store (CE v1.7) I want to generate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.