$ git clone -n https://gitee.com/src-opencloudos-rpms/java-11-openjdk.git /var/lib/mock/dist-oc8-build-36922-12041/root/chroot_tmpdir/scmroot/java-11-openjdk Cloning into '/var/lib/mock/dist-oc8-build-36922-12041/root/chroot_tmpdir/scmroot/java-11-openjdk'... $ git reset --hard origin/oc8 HEAD is now at 8c946dd import java-11-openjdk-11.0.19.0.7-1.oc8