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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.