$ git clone -n https://gitee.com/src-opencloudos-rpms/java-17-konajdk.git /var/lib/mock/dist-oc9-build-118286-69175/root/chroot_tmpdir/scmroot/java-17-konajdk Cloning into '/var/lib/mock/dist-oc9-build-118286-69175/root/chroot_tmpdir/scmroot/java-17-konajdk'... $ git fetch origin a2d1e288936198ba0593c132b89c98fa4a1cbf7b:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-17-konajdk * [new ref] a2d1e288936198ba0593c132b89c98fa4a1cbf7b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a2d1e28 import java-17-konajdk-17.0.12-1.tl4