$ git clone -n https://gitee.com/src-opencloudos-rpms/mariadb-java-client /var/lib/mock/dist-oc8-build-32552-9797/root/chroot_tmpdir/scmroot/mariadb-java-client Cloning into '/var/lib/mock/dist-oc8-build-32552-9797/root/chroot_tmpdir/scmroot/mariadb-java-client'... $ git reset --hard origin/oc8 HEAD is now at 9a296e9 import mariadb-java-client-2.7.1-2.tl3