git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christofer Jennings <boz.lists@gmail.com>
To: git@vger.kernel.org
Subject: Re: Sanity Check: scrum teams, shared 'story branches', rebasing shared branches
Date: Thu, 14 Jun 2012 07:32:22 -0700	[thread overview]
Message-ID: <4E5D3B5D-DFAA-4FA7-ABA7-872584951221@gmail.com> (raw)
In-Reply-To: <3EA7D039-9D6E-4945-A982-43DB53AAE43A@gmail.com>

Thanks Heiko and Michael! Your emails were very helpful.

We did some experiments similar to yours, Michael, and came to the conclusion that we'll use merge to synchronize between branches that have been shared remotely (e.g., origin/master and origin/s1). Rebase fits our needs for synchronizing local working branches their corresponding origin branches though (e.g., s1 and origin/s1). In those cases, merge causes too many splits in the log.

This is all working out pretty well to support our "Story branch" approach.

Thanks again,
,chris

On Jun 9, 2012, at 4:51 PM, Christofer Jennings wrote:

> 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

      parent reply	other threads:[~2012-06-14 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-09 23:51 Sanity Check: scrum teams, shared 'story branches', rebasing shared branches Christofer Jennings
2012-06-10  4:35 ` Michael Witten
2012-06-10 15:48 ` Heiko Voigt
2012-06-14 14:32 ` Christofer Jennings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E5D3B5D-DFAA-4FA7-ABA7-872584951221@gmail.com \
    --to=boz.lists@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).