$ git clone -n https://gitee.com/src-opencloudos-rpms/mariadb-java-client.git /var/lib/mock/dist-oc9-build-70739-47466/root/chroot_tmpdir/scmroot/mariadb-java-client Cloning into '/var/lib/mock/dist-oc9-build-70739-47466/root/chroot_tmpdir/scmroot/mariadb-java-client'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/mariadb-java-client * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a0d38a import mariadb-java-client-3.1.2-3.tl4