$ git clone -n https://gitee.com/src-opencloudos-rpms/java-17-openjdk /var/lib/mock/dist-oc8-build-40237-13948/root/chroot_tmpdir/scmroot/java-17-openjdk Cloning into '/var/lib/mock/dist-oc8-build-40237-13948/root/chroot_tmpdir/scmroot/java-17-openjdk'... $ git reset --hard origin/oc8 HEAD is now at 6e140ce import java-17-openjdk-17.0.7.0.7-3.tl3