[FEATURE REQUEST] git clone, just clone selected branches?
- From
- Joakim Tjernlund <joakim.tjernlund@transmode.se>
- Date
- Oct 10, 2007, 18:55 UTC
- Message-ID
- <011401c80b6f$1a11d1f0$04ac10ac@Jocke>
To my knowlede a git clone always clones all branches from the remote repo. I would like the possibly to clone selected branches, like git clone <repo URL> -b master -b upstream which will only fetch the master and upstream branch.
I know I can use git remote to do this, but it is a bit clumsy when starting a new repo.
What do you think?
Jocke