Rebase with head