flosight-ui/gitmagic
2014-01-16 16:11:55 -03:00

4 lines
332 B
Plaintext

.
Can always rebase by hand: git branch -m foo foo.old ; git checkout -b foo master ; git checkout foo.old ; for commit in A B C do; git show $commit > /tmp/patch.$commit ; echo $commit >> /tmp/commits.lst ; done ; git checkout foo ; for commit in `cat /tmp/commits.lst` do; patch -sp1 < /tmp/patch.$commit ; git commit -a ; done