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