Re: Git Clone Parameter
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jul 19, 2013, 13:33 UTC
- Message-ID
- <51E94025.3090802@viscovery.net>
- In-Reply-To
- <FB572366-0B1D-4053-9255-979CB213B160@gmail.com>
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.
-- Hannes