$ git clone -n https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk /var/lib/mock/dist-oc8-build-40263-14023/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk Cloning into '/var/lib/mock/dist-oc8-build-40263-14023/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk'... $ git reset --hard origin/oc8 HEAD is now at a24b7a5 import java-1.8.0-openjdk-1.8.0.372.b07-4.tl3