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

Re: Strange branch merging.

From
PBPieter de Bie <pieter@frim.nl>
Date
Feb 12, 2009, 12:27 UTC
Message-ID
<E65A809A-65AD-4755-8AA7-32AA11C9AB5A@frim.nl>
In-Reply-To
<49940D93.6000204@movency.com>
On Feb 12, 2009, at 11:52 AM, Adam Panayis wrote:
Show 6 quoted lines
> Once this is done I double check my branches and it shows I still  
> only have the master. Perfect. However, when I check the file I  
> edited on my local machine on the blah branch, the changes are there.
>
> Am I fundamentally misunderstanding the correct usage of git? Is  
> this result expected?
Yes, git pull will never change anything on the remote side. You  
should use 'git push' for that. But, you shouldn't push to repository  
with a working directory unless you know what you're doing -- read http://git.or.cz/gitwiki/GitFaq#non-bare 
  for that.
- Pieter
Previous: Adam PanayisNext: Adam Panayis
Message 2 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.