how to clone all branches include remote branches
From: gnu kevin <hidden>
Date: 2016-06-15 22:46:08
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