$ git clone -n https://gitee.com/src-opencloudos-rpms/javapackages-tools.git /var/lib/mock/dist-oc9-build-70155-47398/root/chroot_tmpdir/scmroot/javapackages-tools Cloning into '/var/lib/mock/dist-oc9-build-70155-47398/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 5e40c58 import javapackages-tools-6.1.0-9.tl4