$ git clone -n https://gitee.com/src-opencloudos-rpms/expat.git /var/lib/mock/dist-oc8-build-75089-51959/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-oc8-build-75089-51959/root/chroot_tmpdir/scmroot/expat'... $ git fetch origin 5c59a512970e124d8a7b548fa84d11ae40400e80:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/expat * [new ref] 5c59a512970e124d8a7b548fa84d11ae40400e80 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5c59a51 import expat-2.2.5-13.tl3