You can add several remote repositories in git using the command "git
remote add <alias> <url>". Then, when you want to push or pull from a
specific remote repository just use the alias that you used: git push
<alias> master, for example.
When you clone the repository from a specific url, this will be named
origin, So you only need to add the other remote repository.
William Seiti Mizuta
Caelum | Ensino e Inovação
On Fri, Feb 8, 2013 at 7:53 PM, <adam.to...@gmail.com> wrote:
> I am new to Git.
> I want to be able to work with my main repository that has a fixed origin
> and at the same time want to be able to pull and push from a different
> A typical use case would be a company that has local developers using the
> repository of the company, and an outsourcing company that has its own
> The local developer has access to both repositories.
> Can you tell me what are the steps needed to get this setup?
> A link explaining that in detail would help too.
> Thank you
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.