How to directly convert nested sub-repositories in Github repositories into submodules?
滿天的星座
滿天的星座 2017-05-02 09:36:18
0
1
629

I host a vim repository on Github, in which multiple plug-ins from Github (https://github.com/aben1188/vim/tree/master/vimfiles/bundle ) managed by Vundle all belong to sub-repositories nested in the vim repository.

I now want to convert these subrepositories into submodules. After checking online, I found that it is generally necessary to create a new folder as the parent warehouse, and then clone the original sub-warehouse into the new parent warehouse through a series of operations such as git submodule add, git submodule uptate, etc. (see here: http://gitbook.liuhui998.com/5_10.html)。

What I hope is, can these git sub-repositories be directly converted into sub-modules? In other words, instead of creating a new folder as the parent repository, just convert these sub-repositories directly into sub-modules in the current bundle folder?

滿天的星座
滿天的星座

reply all(1)
迷茫

I used nodejs to encapsulate a small tool for managing multiple warehouses. Can you see if it can meet your needs?
https://github.com/snowdream/node-gitm

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template