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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:26:52+00:00 2026-05-24T17:26:52+00:00

Our team is currently in the process of moving from SVN to Git. We

  • 0

Our team is currently in the process of moving from SVN to Git. We currently use Maven as our build tool.

Currently our projects have a build hierarchy through Maven, but are flat on the file hierarchy/repository side. My goal is to more closely match the Maven build hierarchy and the file structure hierarchy in our repositories in order to make everything easier to understand.

My question is what is the proper level to create Git repos so that the file hierarchy/organization is maintained? Example:

  • Big Project – (no source here, just a pom)
    • Backend Project (source + pom)
    • Clients (no source here, just a pom)
      • Console (source + pom)
      • Web (source + pom)

So the “pom only” project would be used to group actual source projects. But where does the Git repo belong? Some team members are concerned that commits to the Web project don’t belong in the history for the Console project. But if the Git repos are at the lowest levels (the leaf nodes of the tree), we lose the file structure organization (even though the build hierarchy can be maintained in Maven).

Edit: The team member’s concern wasn’t as much with commit history as it was with Tagging. Given that the Git repo root is at the Big Project, and I want to tag the Web project (by tagging the Big Project), why should that tag include the Console project, which maybe not in relevant to the Web tag?

  • 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-24T17:26:53+00:00Added an answer on May 24, 2026 at 5:26 pm

    I have a maven project consisting of over 60 modules, and my team has discussed the same question of exactly where the git repository roots should be. So far, every discussion has ended with leaving the entire project, all the way up to the root pom, in the same project. The decision is mainly based around developer convenience–we don’t have to clone and open multiple different repositories to work in what’s essentially the same project. The question of history seems bogus to me. Who cares if the history is blended? You can always see a particular file’s/module’s/path’s history in git, exclusive of any others.

    An option we’ve considered is something called git submodules, which let you embed repos within repos. This could be an option for organizing your hierarchy if you decide to break it up.

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

Sidebar

Related Questions

We (small team) currently have our Visual Studio projects on a network drive (no
Currently the my team is considering splitting our single CI build process into a
I am in the process of moving my team from TFS to GIT in
Our team is currently working on a large project which makes heavy use of
We are currently setting up Team Build 2010 for our company, and I am
Our team is just ramping up to use source control through SVN. We are
OUR CURRENT BUILD PROCESS We're a small team of developers (2 to 4 people
VS2005 C# Compiler crashes during our team's nightly build process. I attach to it
Our team of 4 currently uses svn, but I am testing out Mercurial. We
Here is my company's current process for moving changes from our development server to

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.