$ git clone -n https://gitee.com/src-opencloudos-rpms/expat.git /var/lib/mock/dist-oc9-build-119357-70330/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-oc9-build-119357-70330/root/chroot_tmpdir/scmroot/expat'... $ git fetch origin a3f0510655a8c61bd26db64a9d7899d020a50b29:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/expat * [new ref] a3f0510655a8c61bd26db64a9d7899d020a50b29 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a3f0510 import expat-2.6.4-1.tl4