copy index from other branch