From: "R. Tyler Ballance" <tyler@monkeypox.org>
To: git@vger.kernel.org
Subject: Rebasing with merges and conflict resolutions
Date: Thu, 25 Mar 2010 20:11:12 -0700 [thread overview]
Message-ID: <20100326031111.GB27737@kiwi.sharlinx.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]
I am trying to use rebase to straighten out a couple topic branches' histories
and running into nothing but troubles and I'm wondering if:
a) I'm doing it wrong (highly likely)
b) what I want is not possible
c) banana!
Two contributors worked in tandem on a particular project, constantly merging
back and forth between each other creating a history of 118 commits total with
37 of them being merge commits, 7 of those merge commits having conflict
resolutions involved.
I would /like/ to rebase those into a more linear revision history, but I
can't seem to find any set of commands that doesn't have me:
a) Manually re-doing every conflict resolution and merge (git rebase -p master)
b) Drastically diverging from the original topic branch and entering some
sort of mergeless hell (git rebase master)
Is it even possible to straighten this out without a massive rework of these
commits?
In the future, is there a better way for two developers to work in the same
back-and-forth fashion (code ping pong!) without leading to *heavily* merged
histories that are unpossible to untangle?
Halp!
Cheers,
-R. Tyler Ballance
--------------------------------------
Jabber: rtyler@jabber.org
GitHub: http://github.com/rtyler
Twitter: http://twitter.com/agentdero
Blog: http://unethicalblogger.com
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2010-03-26 3:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 3:11 R. Tyler Ballance [this message]
2010-03-26 7:02 ` Rebasing with merges and conflict resolutions Johannes Sixt
2010-03-26 17:16 ` R. Tyler Ballance
2010-03-26 18:11 ` Jon Seymour
2010-03-26 17:36 ` Jon Seymour
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=20100326031111.GB27737@kiwi.sharlinx.com \
--to=tyler@monkeypox.org \
--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).