$ git clone -n https://gitee.com/src-opencloudos-rpms/shim.git /var/lib/mock/dist-oc9-build-45067-14591/root/chroot_tmpdir/scmroot/shim Cloning into '/var/lib/mock/dist-oc9-build-45067-14591/root/chroot_tmpdir/scmroot/shim'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/shim * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0b3eb3 import shim-15.7-1.ocs23