$ git clone -n https://gitee.com/src-opencloudos-rpms/java-11-openjdk.git /var/lib/mock/dist-oc8-build-38777-12693/root/chroot_tmpdir/scmroot/java-11-openjdk Cloning into '/var/lib/mock/dist-oc8-build-38777-12693/root/chroot_tmpdir/scmroot/java-11-openjdk'... $ git reset --hard origin/oc8 HEAD is now at 6a3b1a6 import java-11-openjdk-11.0.19.0.7-4.tl3