Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Git Clone Parameter

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:13

Johannes Sixt [off-list ref] writes:
Am 7/19/2013 11:21, schrieb Allan Acheampong:
quoted
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help