git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Updating a branch.

From
TMTim Mazid <timmazid@hotmail.com>
Date
Oct 28, 2009, 12:03 UTC
Message-ID
<26093449.post@talk.nabble.com>
In-Reply-To
<26015707.post@talk.nabble.com>
elyod72 wrote:
Show 15 quoted lines
> 
> I am a newbie to git, so please bear with me.
> Here is the scenario that I am struggling with:
> 
> I have my Master branch.
> I then create a new branch named Test.
> I then make changes and additions to the test branch. 
> At the same time I make changes to the Master branch.
> Now I want to update the Test branch with the latest information from the
> Master branch. 
> 
> How do I go about doing that?
> 
> Thanks for you time and help.
> 
I'm a newbie too, don't worry. :P

And what you're describing is pretty simple. Just do

git checkout Test git merge Master

Voila. :P Obviously, if there are any conflicts, you'll have to resolve them with 'git mergetool'.

Good luck, Tim.

-- 
View this message in context: http://www.nabble.com/Updating-a-branch.-tp26015707p26093449.html
Sent from the git mailing list archive at Nabble.com.
Previous: Tim Henigan
Message 4 of 4 in “Updating a branch.”
  1. elyod72Oct 22, 2009
  2. Avery PennarunOct 22, 2009
  3. Tim HeniganOct 22, 2009
  4. Tim MazidOct 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.