$ git clone -n https://gitee.com/src-opencloudos-rpms/javapackages-tools.git /var/lib/mock/dist-oc9-build-50243-14595/root/chroot_tmpdir/scmroot/javapackages-tools Cloning into '/var/lib/mock/dist-oc9-build-50243-14595/root/chroot_tmpdir/scmroot/javapackages-tools'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/javapackages-tools * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at da87d59 import javapackages-tools-6.1.0-6.tl4