$ git clone -n https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk.git /var/lib/mock/dist-oc8-build-66541-16992/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk Cloning into '/var/lib/mock/dist-oc8-build-66541-16992/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk'... $ git fetch origin 9bfd90147b1980e4d336818b266af9f815e97ad4:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk * [new ref] 9bfd90147b1980e4d336818b266af9f815e97ad4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9bfd901 import java-1.8.0-openjdk-1.8.0.402.b06-2.tl3