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?
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