git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael J Gruber <git@drmicha.warpmail.net>
To: Roald de Vries <rdv@roalddevries.nl>
Cc: git@vger.kernel.org
Subject: Re: clone
Date: Tue, 21 Jul 2009 10:05:07 +0200	[thread overview]
Message-ID: <4A6576B3.7000503@drmicha.warpmail.net> (raw)
In-Reply-To: <D229D90E-0294-475D-B7AC-6C7B23CC169A@roalddevries.nl>

Roald de Vries venit, vidit, dixit 20.07.2009 16:33:
> Dear all,
> 
> If I clone a repository with multiple branches to 'newdir', and then  
> type 'git branch' in 'newdir', I see only 1 branch. 'git branch -r'  
> gives me all branches. Is that correct behaviour? If so, why? And  
> mainly: can I configure git to clone all original branches to non- 
> remote branches?
> 
> Kind regards, Roald

A for the 2nd part (1st one answered by Jeff), you can "git clone --mirror".

But me suspects that you actually want (s)cp -rp, do you?

Michael

  parent reply	other threads:[~2009-07-21  8:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20 14:33 clone Roald de Vries
2009-07-20 15:24 ` clone Jeff King
2009-07-21  8:05 ` Michael J Gruber [this message]
2009-07-21  9:56   ` clone Roald de Vries

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=4A6576B3.7000503@drmicha.warpmail.net \
    --to=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=rdv@roalddevries.nl \
    /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).