If I have a code base. Code base-1, Code Base-2.
I run the command:
git init git add . git commit -m "Initial Commit"
Into both repositories (directories).
There are code differences between code base-1 and code base-2
I can't branch them because they already contain differences of about 0.1%. The filenames are the same but there are some slight edits to the code.
Is there a way to merge the differences between the two repositories?
Edited:
For example, let's say I have the following. This is what I am starting out with. There are slight differences between codebase 1 and 2.
[oldest code case]
code-base-1/
code-base-1/.git [git stuff with already created repo]
code-base-1/file1
code-base-1/file2
code-base-2/
code-base-2/.git [git stuff with already created repo]
code-base-2/file1
code-base-2/file2
Ideally, I could delete code-base-2 because it is a little newer. How would I merge these code bases? So that I eventually come out with one with the merged files.