Rebase -i functionality