I added the new repository and named it consultants.

I am able to pull from that repository.

Now I would like to know how to handle this with my local branches.

I have a branch say mylocalbranch whose origin is named origin because it 
was the first one.

For the moment I am always working with this branch.

Could you tell me how to do the following (Which gonna be my daily tasks):

* See the code of the consultants repository (code review)
* Once validated merge it with the branch "mylocalbranch" of origin
* then push to the origin repo so that other developers can have the code 
of consultants when they pull
* When something is pushed to origin (mylocalbranch) and validated I want 
to push it to consultants repo too

Thank you

On Friday, February 8, 2013 5:44:36 PM UTC-5, Konstantin Khomoutov wrote:
> On Fri, Feb 08, 2013 at 01:53:35PM -0800, adam....@gmail.com 
> <javascript:>wrote: 
> > 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 
> > repository. 
> > 
> > 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 
> > repository. 
> > 
> > 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. 
> [1] Explains working with remote repositories in general, and the case 
> of working with multiple remote repositories in particular. 
> This book is worth reading in its entirety if you're serious about Git. 
> 1. http://git-scm.com/book/en/Git-Branching-Remote-Branches 

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.

Reply via email to