I have two git repositories, say project1 and project2, and project2 is located in a subfolder of project1 :
/project1/.git (with contents of project2/ ignored)
/project1/project2/.git
I would like to know how I can merge project2 into project1, with the same folder structure, but keeping the history of project2 ?
I there a simple solution for that ?