git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* collapsing commits with rebase
@ 2009-01-08  0:08 Geoff Russell
  2009-01-08  0:45 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Geoff Russell @ 2009-01-08  0:08 UTC (permalink / raw)
  To: git

Dear gits,

I have a series of commits:

    A---B---C---D---E---F

I want to collapse B---C---D into one single commit. git rebase -i B  will allow
me to do this, but I'm looking for a non-interactive incantation.

Cheers,
Geoff Russell


P.S. The context is a program that performs a single high level
operation on a repository
as a series of commits but then wants to turn  it back into a single
commit without
user intervention so it subsequently looks like a single op in the history.

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

end of thread, other threads:[~2009-01-10 10:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-08  0:08 collapsing commits with rebase Geoff Russell
2009-01-08  0:45 ` Johannes Schindelin
2009-01-08  1:59   ` Geoff Russell
2009-01-08 11:07     ` Johannes Schindelin
2009-01-10 10:34       ` Geoff Russell
2009-01-08  2:11 ` Boyd Stephen Smith Jr.
2009-01-08  2:32   ` Miklos Vajna
2009-01-08  2:39     ` Boyd Stephen Smith Jr.
2009-01-08  9:49       ` Geoff Russell
2009-01-08  4:09   ` Sitaram Chamarty
2009-01-08  4:23     ` Boyd Stephen Smith Jr.
2009-01-10 10:26 ` nadim khemir

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