git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rebasing merge commits
@ 2014-03-18 18:11 Robert Dailey
  2014-03-19 21:00 ` Max Kirillov
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Dailey @ 2014-03-18 18:11 UTC (permalink / raw)
  To: Git

What's the general recommendation on rebasing after creating a merge
commit on my branch? I realize rebase has the -p option but it seems
like it does a lot of complicated stuff, and it discourages
interactive rebase with the option.

My situation is simple: I have a topic1 branch that has a few commits
on it. During my work, I notice someone else implements a small bug
fix that I need. I do a `git merge --no-ff` to force that into my
branch as a separate merge commit. After that, I continue my work on
my local topic1 branch as usual. When I want latest from master, I do
`git rebase master`. However now that I have a merge commit on my
branch, things get complicated.

What's a good workflow for this, since it seems pretty common?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-19 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 18:11 Rebasing merge commits Robert Dailey
2014-03-19 21:00 ` Max Kirillov

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).