git fetch origin
git merge origin/master

> How would you later "update" your repository with the latest changes from 
> github.com?  Sorry - git newbie here.  Just trying to wrap my head around how 
> to manage Wonder source changes.
> 
> - Patrick
> 
> 
> On Dec 13, 2011, at 10:23 PM, Kieran Kelleher wrote:
> 
>> FYI,
>> 
>> If you want to have a simple uncluttered life, you can use a couple of quick 
>> git commands to only clone the master branch and leave all the other legacy 
>> stuff behind. The trick is to "manually" add the remote specifying only the 
>> remote branches you are interested in tracking with the -t option.
>> 
>> For example, a non-committer would do the following (for committers, just 
>> the url changes slightly to the ssh variant)
>> 
>> mkdir wonder
>> cd wonder
>> git init
>> git remote add -t master origin git://github.com/projectwonder/wonder.git
>> git fetch
>> git checkout master
>> 
>> Next, continue with uncluttered git life and a more simple 'git branch -avv' 
>> output. :-)
>> 
>> Regards, Kieran
>> 
>> 
>> On Dec 13, 2011, at 6:22 PM, Chuck Hill wrote:
>> 
>>> origin/master is what you want.
>>> 
>>> On 2011-12-13, at 3:19 PM, G Brown wrote:
>>> 
>>>> Hi,
>>>> 
>>>> There are so many branches:
>>>> 
>>>> origin/HEAD -> origin/master 
>>>> origin/Wonder_1_0_0_Branch
>>>> origin/Wonder_1_0_1_Branch
>>>> origin/Wonder_2_0_0_Branch
>>>> origin/Wonder_2_0_0_WebObjects_5_4_Branch
>>>> origin/Wonder_2_0_1_Branch
>>>> origin/Wonder_2_0_2_Branch
>>>> origin/Wonder_3_0_0_Branch
>>>> origin/Wonder_4_0_0_Branch
>>>> origin/Wonder_4_5_0_Branch
>>>> origin/Wonder_5_0_0_Legacy
>>>> origin/Wonder_5_0_0_WebObjects_5_3_Branch
>>>> origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch
>>>> origin/Wonder_5_0_0_WebObjects_5_4_Branch
>>>> origin/Wonder_5_0_0_WebObjects_5_5_Branch
>>>> origin/Wonder_5_0_0_WebObjects_5_6_Branch
>>>> origin/Wonder_for_Maven_experiments
>>>> origin/gh-pages
>>>> origin/master
>>>> origin/patrice
>>>> 
>>>> What is the difference between  master and  
>>>> origin/Wonder_5_0_0_WebObjects_5_4_Branch ?
>>>> 
>>>> origin/Wonder_5_0_0_Legacy and   origin/Wonder_5_0_0_WebObjects_5_3_Branch 
>>>> ?
>>>> 
>>>> origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch and   
>>>> origin/Wonder_5_0_0_WebObjects_5_4_Branch ?
>>>> 
>>>> Thanks, _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>> 
>>>> This email sent to [email protected]
>>> 
>>> -- 
>>> Chuck Hill             Senior Consultant / VP Development
>>> 
>>> Practical WebObjects - for developers who want to increase their overall 
>>> knowledge of WebObjects or who are trying to solve specific problems.    
>>> http://www.global-village.net/products/practical_webobjects
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>> 
>>> This email sent to [email protected]
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/pgr%40vt.edu
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to