From: Daniele Segato <daniele.bilug@gmail.com>
To: David <bouncingcats@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: *Non*-interactive squash a range ?
Date: Mon, 5 Jul 2010 09:00:40 +0200 [thread overview]
Message-ID: <AANLkTimVgEUofsrZ0SnCXdW3zMF0SOfup4lQBXwWXXP7@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimTx2dVlK9KKi1nZpOadwDcfyzhE8nffCyK1Sqm@mail.gmail.com>
On Sat, Jul 3, 2010 at 3:38 PM, David <bouncingcats@gmail.com> wrote:
> Having successfully used rebase -i to squash, I wonder about some
> method to *non*-interactively squash a sequence of intermediate
> commits. On a local experimental branch.
[...]
> My desired result is this:
>
> ------------------K <cleanbranch>
> /
> E---F---G---H---I---J <uglybranch>
>
> where K and J are identical worktrees.
why don't you:
git checkout -b cleanbranch E~
git merge --squash J
regards,
Daniele Segato
prev parent reply other threads:[~2010-07-05 7:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-03 13:38 *Non*-interactive squash a range ? David
2010-07-05 6:27 ` Johannes Sixt
2010-07-05 7:00 ` Daniele Segato [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=AANLkTimVgEUofsrZ0SnCXdW3zMF0SOfup4lQBXwWXXP7@mail.gmail.com \
--to=daniele.bilug@gmail.com \
--cc=bouncingcats@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).