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