I have searched and tried multiple solutions from past 2 days and nothing seems to be working out for me.
I currently have the following directory structure which is opencart framework
[git repo 1]
-admin
-image
-CB [git repo 2]
-catalog
-system
-vqmod
I need to merge repo 2 into repo 1 and move the catalog
folder back into the original flat folder structure and track it as single repo, with all the history from repo 2 and merging also because I need to setup git-flow
on azure in coming days.
So the final structure should be in single repo:
[git repo1]
-admin
-image
-catalog
-system
-vqmod
In the initial phase i made a mistake of thinking there was no need to include other folders except for catalog
, but now there is a requirement to work with entire opencart framework modules.
SOLUTIONS TRIED:
solution 1 => as suggested in comments here, subtree is not the solution i am looking for because i want to remove repo 2 from the scene and manage only 1 repo (repo 1).
solution 3 => closest solution that i could find, but it did not work as it still keeps the files inside subdirectory CB/
There may be similar questions but nothing that worked out, if there are some answers i have missed please point me to the right direction.
Help would be greatly appreciated