I have an Android app (let's call it Foo) with quite a bit of history started with Eclipse, then migrated to Android Studio. It used to have the following legacy directory structure:
Foo
MyAndroidLibrary
Foo
MyAndroidLibray and Foo had their own repositories separately. To address a variety of legacy issues, I recreated Foo with Android Studio from scratch. It has the following directory structure now:
Foo
MyAndroidLibrary
App
Now, there is only one repository for Foo instead of of two. I essentially copied all the files from the old MyAndroidLibrary to the new MyAndroidLibrary, and from the old Foo directory to the new App directory.
Is it possible to merge the two old repositories under MyAndroidLibrary and Foo respectively into the new repository under Foo?