how to clone all branches include remote branches
- From
- gnu kevin <kevin.gnu.zhang@gmail.com>
- Date
- Feb 10, 2009, 17:49 UTC
- Message-ID
- <95463c700902100949w23a95536re9a65a2e5c3c0b5d@mail.gmail.com>
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