$ git clone -n https://gitee.com/src-opencloudos-rpms/shim.git /var/lib/mock/dist-oc9-build-48144-14592/root/chroot_tmpdir/scmroot/shim Cloning into '/var/lib/mock/dist-oc9-build-48144-14592/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