$ git clone -n https://gitee.com/src-opencloudos-rpms/shim.git /var/lib/mock/dist-oc9-build-230735-81512/root/chroot_tmpdir/scmroot/shim Cloning into '/var/lib/mock/dist-oc9-build-230735-81512/root/chroot_tmpdir/scmroot/shim'... $ git fetch origin 805f51449173d8e5dfb2a010210f0e90f44d434a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/shim * [new ref] 805f51449173d8e5dfb2a010210f0e90f44d434a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 805f514 import shim-15.7-10.tl4.ap.2