0

When I checkout the master branch of my bare repo using

git --work-tree=/path/to/destination --git-dir=/path/to/bare/repo checkout -f

It checks out the entire working branch, but not the contents of the submodules, only the parent directory of those submodules. How can I checkout every submodule to the destination folder?

cclloyd
  • 8,171
  • 16
  • 57
  • 104

1 Answers1

1
git submodule sync --recursive
git submodule update --recursive
phd
  • 82,685
  • 13
  • 120
  • 165