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