In svn you can link a repository to any folder in another svn repository. I\'m wondering if there is a similar feature for git? Basically I want a git submodule inside my
I'm running into the same issue. It doesn't look solvable from a git level, at least not in a way that lets you easily pull or push to the parent repo.
However, you can work around this limitation by using a simple symlink:
git submodule add http://example.com/repo.git ./submodules/repoln -s ./submodules/repo/subdirectory ./wherever/symlinked_directoryReferences: