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 567049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:02:30+00:00 2026-05-13T13:02:30+00:00

Here’s the scene: I’m currently working on my own framework and on a client’s

  • 0

Here’s the scene:
I’m currently working on my own framework and on a client’s website. Here is the structure:

.
..
_application
_framework
_public

I’d like to have a repo with _framework/* _public/index.php and the structure _application (empty folders for _controllers _models and _views) on github. Also I’d like to have a repo containing ALL of this locally.

I understood that with git-modules I could do this, but after looking up some tutorials I still don’t understand the way of doing this.

Could someone explain it a bit more to me? Thanks a lot!

  • 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-05-13T13:02:30+00:00Added an answer on May 13, 2026 at 1:02 pm

    It seems to me that you could define one repo per structure you want, and combine them in a super-project through submodules.

    See this question for some details on the nature of submodules.

    Extract:

    A submodule enables you to have a component-based approach development, where the main project only refers to specific commits of other components (here “other Git repositories declared as sub-modules”).

    A submodule is a marker (commit) to another Git repository which is not bound by the main project development cycle: it (the “other” Git repo) can evolves independently.
    It is up to the main project to pick from that other repo whatever commit it needs.

    However, should you want to, out of convenience, modify one of those submodules directly from your main project, Git allows you to do that, provided you first publish those submodule modifications to its original Git repo, and then commit your main project referring to a new version of said submodule.

    But the main idea remains: referencing specific components which:

    • have their own lifecycle
    • have their own set of tags
    • have their own development

    The list of specific commits you are referring to in your main project defines your configuration (this is what Configuration Management is all about, including mere Version Control System)


    So if you really have two structure which can evolve independently one from another, submodules are a good fit.

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

Sidebar

Related Questions

Here is the Javascript I currently have <script type=text/javascript> $(function() { $('.slideshow').hover( function() {
Here is what I have, but it is not working: if(window.width() < 1000) document.getElementsByTagName('body')[0].id=be
Here is my scenario. I have a website running under AppPool1 and that works
Here is what I am currently doing. PHP echo's out the recent post in
Here's the basic setup: I have a thin bar at the top of a
Here is my problem : I have a post controller with the action create.
Here is an example: I have the generic type called Account. I wish to
Here is the problem that I am trying to solve. I have two folders
Here's what my table TheTable looks like ColA | ColB | ColC ------+-------+------ abc
Here is a code snippet I was working with: int *a; int p =

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.