Re: Git Clone Parameter
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 19, 2013, 15:02 UTC
- Message-ID
- <7vzjtiy4mh.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <51E94025.3090802@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 10 quoted lines
> Am 7/19/2013 11:21, schrieb Allan Acheampong: >> Something like 'git clone <theRepo> -createLocalBranchesForAllBranches' > > Perhaps: > > $ git clone theRepo > $ git fetch origin refs/heads/*:refs/heads/* > > (untested). There may be ways to write the same shorter, but I've lost > track of what is and what is not possible in refspec.
That would overwrite your local branch and would not give you any tracking, no?