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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:57:49+00:00 2026-05-26T23:57:49+00:00

Trying to come up with the logic and the standard way to do this.

  • 0

Trying to come up with the logic and the standard way to do this.

Example.

Remote Repo called “A”

This repo is cloned as “Local A” and and maintains 2 remotes, one master and one upstream. Upstream changes (A) are merged with “Local A” master and pushed. All good.

Remote Repo called “B”

These repo files needs to be included in “Local A” in a sub-directory.

Do I simply add another remote repo to this sub directory and fetch, merge? Is that how it is done normally?

ps. I do not want to use submodules, I simply want to pull files from multiple remotes into one master git, but also have them retain and “upstream” remote to pull in updates and then merge and push to one master.

  • 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-26T23:57:50+00:00Added an answer on May 26, 2026 at 11:57 pm

    The answer is at github: http://help.github.com/subtree-merge/

    If you need to move directory, just move it as you normally would. If you need to change the history, that’s trickier, but you can find description here: http://help.github.com/split-a-subpath-into-a-new-repo/

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

Sidebar

Related Questions

I'm trying to come up with a way combine two arrays that have different
One thing I've come to be interested in in digital logic/architecture design is Automated
Im trying to come up with MySQL logic for a search function I got
I am trying to build a logic in c to come out from an
I'm new to this as I come from C++ and Perl background. Trying to
I'm trying to come up with a creative solution to give this particular effect:
im trying to come up with a design for a wrapper for use when
I'm trying to come up with an algorithm that will do the following: If
I'm trying to come up with a good naming convention for boolean variables that
I am trying to come up with a query in MS Acess to compare

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.