[RFC] git clone add option to track all remote branches

2018-04-01 Thread Yubin Ruan
Hi, I am writing to ask that whether or not you think will be appropriate to add an option to "git clone" so that whenever a repo is cloned, branches are created automatically to track corresponding remote branches. (or is there any equivelant option?) You can obviously do this by a bash command

Re: [RFC] git clone add option to track all remote branches

2018-04-01 Thread Junio C Hamano
Yubin Ruan writes: > I am writing to ask that whether or not you think will be appropriate to add > an option to "git clone" so that whenever a repo is cloned, branches are > created automatically to track corresponding remote branches. (or is there any > equivelant option?) > > You can obviously

Re: [RFC] git clone add option to track all remote branches

2018-04-01 Thread Junio C Hamano
Junio C Hamano writes: > If you are really doing your own development, then you would have > some topic branches of your own, with forks of some (but most likely > not all, especiallyi when there are many branches at the upstream) > branches you got from the upstream, and "git branch --list" that

RE: [RFC] git clone add option to track all remote branches

2018-04-01 Thread Randall S. Becker
On April 1, 2018 11:22 PM Junio C Hamano wrote: > Junio C Hamano writes: > > If you are really doing your own development, then you would have some > > topic branches of your own, with forks of some (but most likely not > > all, especiallyi when there are many branches at the upstream) > > branch

Re: [RFC] git clone add option to track all remote branches

2018-04-02 Thread Ævar Arnfjörð Bjarmason
On Mon, Apr 02 2018, Yubin Ruan wrote: > I am writing to ask that whether or not you think will be appropriate to add > an option to "git clone" so that whenever a repo is cloned, branches are > created automatically to track corresponding remote branches. (or is there any > equivelant option?) >