Skip to content

How to Merge code from Two Different Repository #23741

Answered by yamiacat
7dcars asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi Roni! 👋 Welcome to the Community!

It sounds like you’re looking for the --allow-unrelated-histories command!

This third party article explains how to use it:

Medium – 30 Jun 17

Git ` — allow-unrelated-histories`

How to combine two separate unrelated Git repositories into one with single history timeline.

Reading time: 2 min read

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants