We are have 2 rails projects for which /models are common for both of the projects and so we maintained a separate repo by using submodules concept.
Now in project1 I created a branch rails3_upgrade
from master for my submodules i.e., in app/models.
how can I checkout to that branch in project2 models from master?
I tried get fetch --all
and git remote -v
and some other options but couldn't see the branch I created.
Googled but couldn't find. Can anyone tell me how can I do this?