git clone / svn checkout
- From
- Bruno De Bondt <bruno@dewereldmorgen.be>
- Date
- Nov 12, 2010, 17:01 UTC
- Message-ID
- <4CDD72D8.9010205@dewereldmorgen.be>
Hello,
Just started using Git, coming from SVN.
Something I regularly do in SVN, is checking out part of a repository, instead of the complete repository. Consider the following: I have a local repository for development. On my testing server, I only (SVN) check out part of this repository, eg. the document root of a website (and not all the project management documents, which are in the same SVN repository, but not needed on the testing server).
How would I do this in Git, ie. only get a specific part of a repository? I feel that this is very much against the whole idea of Git (where, as far as I understand Git now, you work with complete clones of repositories), but is there a way to do this? Or should I just clone complete repositories on my testing server as well?
Thanks, Bruno