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

Re: newby question about merge.

From
Jakub Narebski <jnareb@gmail.com>
Date
May 15, 2007, 10:34 UTC
Message-ID
<f2c23k$dm0$1@sea.gmane.org>
In-Reply-To
<20070515113820.2621c8d5@localhost.localdomain>
[Cc: picca <picca@synchrotron-soleil.Fr>, git@vger.kernel.org]
picca wrote:
Show 5 quoted lines
> My question is how can I keep the upstream version of the configure
> file instread of the one in the working directory.
> 
> I read about the stage(1:2:3) but I do not know how if it is related to
> my problem.

You can just do "git cat-file -p :2:filename > filename", then "git add filename" (or "git update-index filename") to resolve conflict.

Check first if :2: is correct file (and not for example :3:).
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Alex RiesenNext: picca
Message 3 of 11 in “newby question about merge.”
  1. piccaMay 15, 2007
  2. Alex RiesenMay 15, 2007
  3. Jakub NarebskiMay 15, 2007
  4. piccaMay 15, 2007
  5. Junio C HamanoMay 15, 2007
  6. piccaMay 16, 2007
  7. Johannes SchindelinMay 16, 2007
  8. Christian MICHONMay 16, 2007
  9. Johannes SchindelinMay 16, 2007
  10. Christian MICHONMay 16, 2007
  11. Johannes SchindelinMay 16, 2007

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.