git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to clone all branches include remote branches
@ 2009-02-10 17:49 gnu kevin
  2009-02-10 18:05 ` Johannes Gilger
  0 siblings, 1 reply; 2+ messages in thread
From: gnu kevin @ 2009-02-10 17:49 UTC (permalink / raw)
  To: git

hi,

I'd like to know how to get all remote(grandparent) branches by clone
a remote repo . for example:
remote repo ABC contains below branches:
master
stable/main
dev/main

while master is the local branch in remote repo and stable/main &
dev/main is two remote branches of that remote repo, when I clone from
ABC repo, I can only get a copy of ABC's local branch master, how can
I get those two remote(grandparent) branches also copied?

BRs,
Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-10 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10 17:49 how to clone all branches include remote branches gnu kevin
2009-02-10 18:05 ` Johannes Gilger

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).