$ git clone -n https://gitee.com/src-opencloudos-rpms/expat.git /var/lib/mock/dist-oc8-build-72546-47704/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-oc8-build-72546-47704/root/chroot_tmpdir/scmroot/expat'... $ git fetch origin 1f995f39fd853569c9cce0093c8a212973f8c65d:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/expat * [new ref] 1f995f39fd853569c9cce0093c8a212973f8c65d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1f995f3 import expat-2.2.5-11.tl3.1