Possible Duplicate:
Is there any way to clone a git repository’s sub-directory only?
clone parts of a github project
I am new to Git and Github, and I'd like to check out a project hosted there and work on it, but there is quite a bit of source to check out. I really only want to check out one module, but I can't seem to find the right commands.
I really just want this. I've forked it, but the fork seems to be the whole project, and I have no idea how to pull down only the submodule.
I tried this:
$ git submodule add git@github.com:javamonkey79/restlet-framework-java modules/org.restlet.ext.jaxrs
And this:
$ git submodule add git@github.com:javamonkey79/restlet-framework-java.git modules/org.restlet.ext.jaxrs
But neither of these are right.
Is what I am trying to do possible? If so, how?