Adds rebase command.