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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:43:54+00:00 2026-06-09T14:43:54+00:00

We have two C# projects…a Common project and a WEB UI project. Both of

  • 0

We have two C# projects…a Common project and a WEB UI project. Both of them are in separate repositories.

The Common Project references the UI Project and when we work, we always work in the common project, even making changes to the UI project from within it.

The problem is, when we pull, we always end up having to pull from two separate projects which can cause some confusion when local builds start failing because someone forgot to pull from the other repository.

We have tried Submodules and the Subtree merge strategy. We used the Common project as our main project (which I will now refer as the parent) and the UI project as the sub-project (which I will now refer to as the child). Then we just changed the reference from the Parent to the Child to point to the subdirectory containing the subtree/submodule. Unfortunately when we make changes to the child project, they don’t get pushed back up with the parent project using either of the two strategies mentioned above when doing a Commit and Push. It seems as if the only thing that Subtree and Submodules do is automatically PULL into the local child UI repository whenever you pull from the Parent remote repository.

Is there any way possible to make it so when we push from the parent it also pushes the changes from the child?

  • 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-09T14:43:56+00:00Added an answer on June 9, 2026 at 2:43 pm

    It looks like the best way to accomplish this is just to create a custom command in GIT to automate the process of pulling from two repositories with one command.

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

Sidebar

Related Questions

I have two projects in my solution   1- asp.net web project.   2-
We have two projects that are both class libraries. Project 1 is a VS
I have two projects in my solution... a domain project and MVC3 web project
I have two projects, both of them data access layers, and both using EF.
I have two projects in my solution. First project is web site (actually web
I have two projects, project A and Project B. Both are written in groovy
I have two projects, and they have some headers in common, so they both
I have two projects, Project A and Project B. Both are under same Solution.
I have two projects and I want to combine them together.When I install each
I have two projects A and B both are built differently, but the jars

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.