$ git clone -n https://gitee.com/src-opencloudos-rpms/xmlstarlet /var/lib/mock/dist-oc8-build-32617-9849/root/chroot_tmpdir/scmroot/xmlstarlet Cloning into '/var/lib/mock/dist-oc8-build-32617-9849/root/chroot_tmpdir/scmroot/xmlstarlet'... $ git reset --hard origin/oc8 HEAD is now at 2a7cfe8 import xmlstarlet-1.6.1-20.tl3