From: Bruno De Bondt <bruno@dewereldmorgen.be>
To: git@vger.kernel.org
Subject: git clone / svn checkout
Date: Fri, 12 Nov 2010 18:01:12 +0100 [thread overview]
Message-ID: <4CDD72D8.9010205@dewereldmorgen.be> (raw)
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
next reply other threads:[~2010-11-12 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 17:01 Bruno De Bondt [this message]
2010-11-13 17:34 ` git clone / svn checkout Jakub Narebski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDD72D8.9010205@dewereldmorgen.be \
--to=bruno@dewereldmorgen.be \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).