$ git clone -n https://gitee.com/src-opencloudos-rpms/expat.git /var/lib/mock/dist-oc8-build-38532-12507/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-oc8-build-38532-12507/root/chroot_tmpdir/scmroot/expat'... $ git reset --hard origin/oc8 HEAD is now at e340ff0 import expat-2.2.5-11.tl3