I try to get only one folder from a private repo with bower install
.
I want to do something like this, src
(is in the root folder) is the subdirectory I need:
"dependencies": {
"my-component" : "git@git.mywebsite.com:web-components/my-component/src.git"
}
This works fine and clones the whole project:
"dependencies": {
"my-component" : "git@git.mywebsite.com:web-components/my-component.git"
}
Is there a way to do this? I've read about svn
and git submodules
, but I'm not sure if this is what I need.
I've also read this but I can't figure out how to use it.
Help would be greatly appreciated.