How to combine multiple GIT repositories into a repository

I have three repositories, I want to combine into a respository.

For example:
repository01,url:remote_repository01_url
repository02,url:remote_repository01_url
repository03,url:remote_repository01_url

Step1:Build a new repository.

Step2:Merge new_respository and repository01.

Step3:Move repository01 to new location in new_repository

Final:
I just repeat Step2 and Step3 for other repostories.

Related Posts