From: Gelonida <gelonida@gmail.com>
To: git@vger.kernel.org
Cc: Michael J Gruber <git@drmicha.warpmail.net>
Subject: Re: how to squash a few commits in the past
Date: Wed, 05 May 2010 23:41:10 +0200 [thread overview]
Message-ID: <4BE1E5F6.3040606@gmail.com> (raw)
In-Reply-To: <w2zf3271551005050619td67d697y97d7e9181c4496fc@mail.gmail.com>
Hi Ragu,
Ramkumar Ramachandra wrote:
> Hi,
>
> On Mon, May 3, 2010 at 11:20 PM, Gelonida <gelonida@gmail.com> wrote:
>> Is it normal, that git gets lost wehn rebasing such a structure.
>
> While performing an interactive rebase, conflicts can often occur and
> this is quite normal.
>
>>> Automatic cherry-pick failed. After resolving the conflicts,
>>> mark the corrected paths with 'git add <paths>', and
>>> run 'git rebase --continue'
>>> Could not apply 67f3f6d... preparation for #241
>
> The problem and solution is described in that message. Open the file,
> resolve the conflict and continue the rebase operation.
Yes merging manually could be a theortical solution, but I really don't
understand, why I should merge anything at all.
The history is purely linear at the places where I want to squash.
These two commits precede a few more consecutive commits, traverse then
a tree which forks to multiple branches, which partially cherrypick from
each other and will then join again to a unique linear sequence.
If I have a history of several hundred commits and I am asked several
times to merge, just because I want to squash two consecutve commits
without any branches going out or in, then something (probably the way I
try to attack the problem or much less likely a mysterious git bug) is
kind of wrong.
I'm still looking for a solution, where I specify only the commits to be
squashed and everything else stays untouched without any further
userinteraction
next prev parent reply other threads:[~2010-05-05 21:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 9:33 how to squash a few commits in the past Gelonida
2010-05-03 10:09 ` Michael J Gruber
2010-05-03 20:45 ` Gelonida
2010-05-03 20:55 ` Gelonida
2010-05-03 21:20 ` Gelonida
2010-05-05 13:19 ` Ramkumar Ramachandra
2010-05-05 21:41 ` Gelonida [this message]
2010-05-06 6:45 ` Johannes Sixt
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=4BE1E5F6.3040606@gmail.com \
--to=gelonida@gmail.com \
--cc=git@drmicha.warpmail.net \
--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).