Jess SM
Jess SM

Reputation: 33

GIT Fetching Multiple Repository's

I have a user github.com/userName that has 50+ Repositories that I would like to clone into a single dir on my Windows PC. What would be the best way to do this?

Upvotes: 3

Views: 836

Answers (1)

VonC
VonC

Reputation: 1326994

One way would be to create one more repo in which you declare your 50+ repos as submodules.

That way, you would be able to initialize/clone your 50 repos with a

git clone --recursive your_main_parent_repo

(See "How to git clone including submodules?")

Don't forget to commit and push your main_repo when you have committed and push any of your submodules though.

Upvotes: 1

Related Questions