Andreas Schwab <[EMAIL PROTECTED]> writes:

> "Daniel Berlin" <[EMAIL PROTECTED]> writes:
>
>> No, nothing is wrong wit he import, if you want all the remote
>> branches, you have to ask git to get all the remote branches
>>
>> git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*'
>
> This will put the remote branch heads in refs/remotes, you might want to
> put them in refs/remotes/origin instead.
>
> $ git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/origin/*'

Actually this is not such a good idea, as it confuses git remote (it
considers all refs imported from refs/remotes/* as stale branches).  The
original command is also the one recommended by git-svn(1).

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to