Reordering of commits
Posted
by Peter
on Stack Overflow
See other posts from Stack Overflow
or by Peter
Published on 2010-04-29T20:24:02Z
Indexed on
2010/04/29
20:27 UTC
Read the original article
Hit count: 177
Hi,
I'm currently working on a branch and want some commits to merge into other branches:
/--a--b--c--d--e--f--g----- branchA (letters are commits) --o--------------------------- master -------------------------- branchB
However I noticed that it would be a good idea to pool some commits. I want to "concatenate" commit a, d, e and g into one patch and commit it to master. Commits b and f should go as one commit to branchB. Is there a good 'git'-ish way to achieve it?
© Stack Overflow or respective owner