how to clone all branches include remote branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux