$ git clone -n https://gitee.com/src-opencloudos-rpms/java-17-openjdk /var/lib/mock/dist-oc8-build-30730-9148/root/chroot_tmpdir/scmroot/java-17-openjdk Cloning into '/var/lib/mock/dist-oc8-build-30730-9148/root/chroot_tmpdir/scmroot/java-17-openjdk'... $ git reset --hard origin/oc8 HEAD is now at bc19e98 import java-17-openjdk-17.0.5.0.8-1.oc8