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