Thank for the suggestions, the fake remote 'all' did the trick for me.


On Apr 16, 7:10 pm, gitster <> wrote:
> On Apr 15, 11:45 pm, Broc <> wrote:
> >  it goes out to both repos instead of having to do:
> >  $ git push
> >  $ git push assembla
> > I've read in the docs that you can add the remote as a mirror using --
> > mirror, but AFAIK this is only for new repos - is this correct, am I
> > missing something here?
> The --mirror option is about the layout (i.e. instead of pushing the
> matching refs to the remote, you push all your refs to the remote and
> remove refs that you do not have from the remote) and does not have
> anything to do with pushing to multiple places.
> But you can define a phony remote "all" that has more than one URL,
> like
> so:
>         [remote "all"]
>                 url =
>                 url =
> and say (with or without --mirror)
>         $ git push all
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to