>> 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/*'

One small problem I have with this. When I do "git branch lto
origin/lto" the generated config entry says:

[branch "lto"]
        remote = origin
        merge = refs/heads/lto

and "git pull" will fail.  Manually updating it to

[branch "lto"]
        remote = origin
        merge = refs/remotes/lto

solves the problem

>
> Andreas.
>

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047

Reply via email to