$ git clone -n https://gitee.com/src-opencloudos-rpms/openmpi.git /var/lib/mock/dist-oc9-build-70962-47495/root/chroot_tmpdir/scmroot/openmpi Cloning into '/var/lib/mock/dist-oc9-build-70962-47495/root/chroot_tmpdir/scmroot/openmpi'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/openmpi * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d1a23a9 import openmpi-4.1.5-5.tl4