$ git clone -n https://gitee.com/src-opencloudos-rpms/libxml2.git /var/lib/mock/dist-oc8-build-38498-12491/root/chroot_tmpdir/scmroot/libxml2 Cloning into '/var/lib/mock/dist-oc8-build-38498-12491/root/chroot_tmpdir/scmroot/libxml2'... $ git reset --hard origin/oc8 HEAD is now at 3c94373 import libxml2-2.9.7-16.tl3