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