$ git clone -n https://gitee.com/src-opencloudos-rpms/expat.git /var/lib/mock/dist-oc8_6-updates-build-26951-8089/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-oc8_6-updates-build-26951-8089/root/chroot_tmpdir/scmroot/expat'... $ git reset --hard 3c0c4217e89ea38502f80d9fa3f79a6ead60541d HEAD is now at 3c0c421 import expat-2.2.5-8.oc8_6.3