$ git clone -n https://gitee.com/src-opencloudos-rpms/java-17-openjdk.git /var/lib/mock/dist-oc8-build-81933-56702/root/chroot_tmpdir/scmroot/java-17-openjdk Cloning into '/var/lib/mock/dist-oc8-build-81933-56702/root/chroot_tmpdir/scmroot/java-17-openjdk'... $ git fetch origin cfa7f380afd79a588fd970689ed2b13d62459fee:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-17-openjdk * [new ref] cfa7f380afd79a588fd970689ed2b13d62459fee -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cfa7f38 import java-17-openjdk-17.0.12.0.7-2.tl3