$ git clone -n https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk /var/lib/mock/dist-oc8-build-30656-9139/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk Cloning into '/var/lib/mock/dist-oc8-build-30656-9139/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk'... $ git reset --hard origin/oc8 HEAD is now at 88f61e5 import java-1.8.0-openjdk-1.8.0.352.b08-2.oc8