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

Sanity Check: scrum teams, shared 'story branches', rebasing shared branches

From
CJChristofer Jennings <boz.lists@gmail.com>
Date
Jun 9, 2012, 23:51 UTC
Message-ID
<3EA7D039-9D6E-4945-A982-43DB53AAE43A@gmail.com>
Hi All,
(New to this list. Please tell me if this is the wrong forum for this thread.) 
I've been using Git and GitHub for ~6 months. Working on a SCM plan for a Scrum project with 50+ developers in ~8 dev. teams. Each team will be working on one or two stories simultaneously, so expect ~16 'story branches' (and master) at any given time. We've got GitHub Enterprise and are working out how to manage story development on shared branches that get merged to master only after going through acceptance & peer review. We hope stories will only be 3 - 5 days to complete, but may take 2 weeks. We're promoting frequent pushes to story branches.
After a number of experiments and doing online research, we're thinking to use rebase to keep the story branches up-to-date with master while the story branches are in development. This seems to be the best approach because it will allow us to use bisect to isolate issues, and it will give us the most linear history graph. 
So, here's my question: Can we use "rebase -s recursive -Xtheirs" as shown below?

In this experiment, we're on 'story' branch 's1'. It's behind master because another story has been merged to master. We need to rebase to master and then rebase to origin/s1to be up-to-date. So we... git fetch -v git rebase origin/master ... resolve stuff ... git rebase -s recursive -Xtheirs origin/s1 The "-s recursive -Xtheirs" part seems to result in all the right code at the end. We only had to "git add && git rebase --continue" for deleted files.

Would this approach always work? Or do we actually need to step through each conflict while rebasing to origin/s1 too?
(I don't want to step through each conflict while rebasing to origin/s1 because it brings up conflicts that the s1 developer may know nothing about.)

Thanks! chris

Next: Michael Witten
Message 1 of 4 in “Sanity Check: scrum teams, shared 'story branches', rebasing shared branches”
  1. Christofer JenningsJun 9, 2012
  2. Michael WittenJun 9, 2012
  3. Heiko VoigtJun 10, 2012
  4. Christofer JenningsJun 14, 2012

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.