Adds prune to rebase commands