I want to clone submodules on existing project. I don't want to remove and re-clone the project.
The .gitmodules is below:
[submodule "submodulename"]
active = .
path = submodulename
url = https://name-surname@bitbucket.org/xxx-team/submodulename.git
branch = master
The git version is 2.12.2
I run these commands:
git pull --recurse-submodules
Already up-to-date.
But there is no folder called submodulename. How can I clone the submodules? How can I checkout a branch?