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?
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.
上一篇: Git:在克隆项目时子模块不会被拉动
下一篇: GIT获取多个版本库