I'm new to git, and haven't been able to find an exact answer to this on SO.
We have two repositories that customise two Android releases, PRODUCT_4.4.0 and PRODUCT_5.1.1. We now realise that we should just have had a single repository, PRODUCT, and branched it at the end of the 4.4.0 development, and continued with the 5.1.1 development in the same repository.
I would like to merge these two repositories into one repository called PRODUCT, with a branch 4.4.0 before the 5.5.1 commits. I would also like to copy across the full commit history.
I've found this and this on SO, but as far as I can tell, they don't exactly fit my needs.
Can this be done?
Many thanks, Paul