Reordering of commits
- by Peter
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?