adds step and total number when rebasing. adds revert_head