I want to place submodule_A at master and place submodule_B at new_branch.
But, on the master, I can see both submodule_A and submodule_B in the repo.
How to separate the two submodules at the right branch?
Thanks for reply!!!
NOTE:I use the following command before.
git submodule add -b new_branch submodule_B;
But submodule_B is still existing on master branch.
When I checkout master, the git displays
warning: unable to rmdir submodule_B
When I checkout new_branch, the git displays
warning: unable to rmdir submodule_A
==============================================
For Example
https://github.com/ShawnHuang/.vim/tree/master/bundle
All plugins is submodules at my repo.
On branch master, I want to use ultisnips.
And, on branch junk/snipmate, I want to use snipmate.
I can separate the two submodules at differnt branches at github.
But I can't do it at local.