merging detached commits