Re: [FEATURE REQUEST] git clone, just clone selected branches?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Oct 10, 2007, 19:38 UTC
- Message-ID
- <alpine.LFD.0.999.0710101236350.20690@woody.linux-foundation.org>
- In-Reply-To
- <011401c80b6f$1a11d1f0$04ac10ac@Jocke>
On Wed, 10 Oct 2007, Joakim Tjernlund wrote:
> > I know I can use git remote to do this, but it is a bit clumsy > when starting a new repo.
How about just
git init .. set up remote tracking info in .git/config .. git fetch remote
which should do what you want.
Linus