$ git clone -n https://gitee.com/src-opencloudos-rpms/shim.git /var/lib/mock/dist-oc8-build-75086-51959/root/chroot_tmpdir/scmroot/shim Cloning into '/var/lib/mock/dist-oc8-build-75086-51959/root/chroot_tmpdir/scmroot/shim'... $ git fetch origin 967d654d1300d43ee5ef54fe2827fd38338710a5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/shim * [new ref] 967d654d1300d43ee5ef54fe2827fd38338710a5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 967d654 import shim-15.8-4.tl3.1