I have a git repo and I want to add a submodule to it. Problem is, the submodule exists as a folder inside another repo. Can I add only that folder as a submodule?
I ended up doing this:
submodules
directory.This way you have default Git submodule behaviour and in your project you only use a subset of the whole submodule.