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

Re: Strange branch merging.

From
APAdam Panayis <adam@movency.com>
Date
Feb 12, 2009, 12:59 UTC
Message-ID
<49941D4C.80502@movency.com>
In-Reply-To
<FADBCA93-6742-43E8-A4A6-0090FBFF8BAB@frim.nl>
Pieter de Bie wrote:
Show 23 quoted lines
> Hey,
>
> [ Please don't top-post here, it makes following the discussion harder ]
>
> On Feb 12, 2009, at 12:40 PM, Adam Panayis wrote:
>> When I try to do that on box B I get the master branch from box A but 
>> I get the changes made to branch blah on box A.
>>
>> I do not understand why, on box B, the master branch is showing 
>> changes made to the blah branch on box A. (Yet on box A the changes 
>> to the blah branch are not shown in the master)
>
> You probably pulled in the 'blah' branch rather than the 'master' 
> branch because that was
> the branch that is checked out on box A. You can verify this by 
> looking at 'git log' and
> see that the commit on the blah branch is also there. To pull the 
> master branch, specify
> it explicitly, like this:
>
>     git pull boxA:path/to/repo master
>
> - Pieter

Pieter, thank you very much. Looks like that is indeed the mistake I was making.

Previous: Pieter de BieNext: Sitaram Chamarty
Message 5 of 6 in “Strange branch merging.”
  1. Adam PanayisFeb 12, 2009
  2. Pieter de BieFeb 12, 2009
  3. Adam PanayisFeb 12, 2009
  4. Pieter de BieFeb 12, 2009
  5. Adam PanayisFeb 12, 2009
  6. Sitaram ChamartyFeb 12, 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.