Hi, This goes in the .git/config file within your repository.
//M. On Apr 20, 7:32 am, trans <[email protected]> wrote: > On Apr 16, 10:10 am, gitster <[email protected]> wrote: > > > > > On Apr 15, 11:45 pm, Broc <[email protected]> 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 = main.host.xz:my.git > > url = secondary.host.xz:my.git > > In what file does one put this? > > T. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~----------~----~----~----~------~----~------~--~---
