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

Re: Workflow question: A case for git-rebase?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 8, 2007, 21:47 UTC
Message-ID
<Pine.LNX.4.64.0708082246370.21857@racer.site>
In-Reply-To
<18071eea0708081411p41eaa44ai105adaef0e4b10a5@mail.gmail.com>
Hi,
On Wed, 8 Aug 2007, Thomas Adam wrote:
Show 10 quoted lines
> As for myself, I maintain _locally_ a few branches (branchX, branchY)
> which dictate some bits and pieces I'm working on.  Periodically, I
> will tend to merge either merge to master and then push those changes
> out.  So far so good...
> 
> But, I've now come up against a case whereby if one of my colleagues
> changes a file (call it fileA) in branch master, and, in the course of
> my working in branchX means i modify fileA also, when I come to merge
> branchX into master I find the original change in master (as submitted
> by my colleague) being reverted by my changes in branchX.

I have a hard time seeing that. If you touch the same code, unidentically, merge-recursive will not be nice to you: it will show conflicts, and you have to resolve them.

Or do you use "-s ours"?

Ciao, Dscho

Previous: Thomas AdamNext: Thomas Adam
Message 2 of 4 in “Workflow question: A case for git-rebase?”
  1. Thomas AdamAug 8, 2007
  2. Johannes SchindelinAug 8, 2007
  3. Thomas AdamAug 8, 2007
  4. Jan HudecAug 9, 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.