[forge-dev] GitHub: question on synchronization with master repository

Lincoln Baxter, III lincolnbaxter at gmail.com
Wed May 2 13:51:07 EDT 2012


Good point! we need to add this to the docs!

George, do you have a good strategy for this? You are the merge master :)

~Lincoln

On Wed, May 2, 2012 at 10:45 AM, Thomas Frühbeck <fruehbeck at aon.at> wrote:

> Hi,
> after having a look at receipt at
> http://forge.github.com/docs/get_involved/contribute.html I would like
> to clarify the use the repositories.
>
>     - I have cloned forge/core to a private github repository
>     - cloned my repository to my local system
>     - generated a branch, committed changes, pushed to my github repository
> All OK.
>
> One thing is left: how will I get updates of the master forge/core into
> my _remote_ repository, as there is no "pull" on github?
>
> If I understood correctly, I can associate the remote master by "git
> remote add upstream <git_master_repo>"
> To get the changes of the "upstream" master I issued:
> ~> git pull upstream master
>
> Now my local repository was up do date, but not my remote repository. So
> I issued:
> ~> git push
>
> which seemed to update my private _remote_ repository with the changes
> from the remote "upstream" master.
> So for me this means, that from now on I "remote control" my private
> _remote_ repository via my _local_ repo.
>
> Could you kindly comment/confirm/explain in more detail.
>
> Thanks,
> Thomas
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120502/8694381e/attachment.html 


More information about the forge-dev mailing list