Monday, May 04, 2020

git idea to merge 2 repo's into 1

Motivation:
Two repo's were created at different time for similar purposes and similar file names.  I want to combine them while keeping all commit history.   The problem is that the two share no common commit (i.e. commit hash).


Idea: 
Assign one commit as common, then add remote to repo 2 and rebase a repo2 branch onto the common node.


Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home