#Symlink a folder from a git submodule for use in a project
I recently came across a need to try this out on a project i was working on. So here's how to do it, incase anyone else finds themselves in the same situation.
##Set up your submodule in a seperate directory.
Run this command from your project root.
git submodule add http://example.com/repo.git ./submodules/repo
##Create a symlink to the subfolder in the place you want:
ln -s ./submodules/repo/subdirectory ./wherever/symlinked_directory
When You update the submodule the symlink gets destroyed