Remove files from the project following a rebase