I have successfully split a previous commit deadbeef
using git rebase -i deadbeef~1
as suggested in this question. I did this on my development
branch.
As far as i can tell everything is fine, deadbeef
is gone from the history of development
and has been replaced by the commits i did while rebasing.
Two questions arise now:
- I have several branches that have
deadbeef
in their history - how do i "merge" the rebase into those branches? What would happen if i did agit merge development
in any of those branches? deadbeef
has also been pushed to a remote repository and is present on a few other clones. To make suredeadbeef
is really gone from all the history, i will have topush --force
and do a newclone
on all other development machines, right? (Luckily, this is rather easy, i have access to all other clones).
Thanks!