Hi Michael,
I actually meant cloning all branches to both remote and non-remote
(but remote-tracking) branches. But still, the --mirrorring is
usefull, thx.
Kind regards, Roald
On Jul 21, 2009, at 10:05 AM, Michael J Gruber wrote:
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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html