$ git clone -n https://gitee.com/src-opencloudos-rpms/mariadb-java-client.git /var/lib/mock/dist-oc9-build-50506-14595/root/chroot_tmpdir/scmroot/mariadb-java-client Cloning into '/var/lib/mock/dist-oc9-build-50506-14595/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 ced4cce import mariadb-java-client-3.1.2-2.tl4