I was developing a full-stack web application and for that, I created two separate repositories for the front-end and back-end as I develop. The two repositories are,
- projectName_api
- projectName_client
Now I need to create one repository 'projectName' which contains these two separate git repositories as directories without deleting the commit history.
api --> projectName_api git repo
client --> projectName_client repo
|projectName
|--api
|--client
|--package.json
It will be better if the history of git repos can be put into branches like frontend and backend with separate history in those branches