Thread (35 messages) flat view 35 messages, 14 authors, 2016-06-15

RE: Merging commits together into a super-commit

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:09

Hi,

On Thu, 10 May 2007, Alex Bennee wrote:
On Thu, 2007-05-10 at 13:19 +0200, Raimund Bauer wrote:
quoted
quoted
Hi,
 <snip> 
You don't want to be 
quoted
correcting a whole bunch of merge failures for every commit 
in your current tree.

So far the only was I can see to do this is a:

git-diff master..HEAD > my.patch

And then re-applying your patch in stages, manually doing the commits.

Am I missing something?
git merge --squash ?
Hmm, that would do although it only works on whole trees, you can't
specify a range of commits. So you would have to cherrypick groups of
changes onto other branches and then merge them together with a couple
of --squashes
Since specifying several commit ranges can always lead to merge conflicts, 
it makes no sense to _not_ accumulate the patches in a separate branch.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help