$ git clone -n https://gitee.com/src-opencloudos-rpms/shim.git /var/lib/mock/dist-oc8-build-234220-81943/root/chroot_tmpdir/scmroot/shim Cloning into '/var/lib/mock/dist-oc8-build-234220-81943/root/chroot_tmpdir/scmroot/shim'... $ git fetch origin 13e246134eabfa8a2a03404ec5fb8a298380d0e4:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/shim * [new ref] 13e246134eabfa8a2a03404ec5fb8a298380d0e4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 13e2461 import shim-15.8-6.tl3.1